Integrations
Rotate a key under the same integration and scope restriction
POST
studioSessioncookie
__Secure-avatarstudio.session_token<token>An authenticated Studio session. Each operation enforces its resource and role permissions.
integration_idrequiredstringkey_idrequiredstringgrace_period_secondsrequiredintegerRotate a key under the same integration and scope restriction
curl -X POST 'https://example.com/v1/integrations/string/keys/string/rotate' \
-H 'Content-Type: application/json' \
-d '{
"grace_period_seconds": 0
}'{
"id": "string",
"object": "integration.key",
"integration_id": "string",
"name": "string",
"display_prefix": "string",
"scopes": [
"experiences:read"
],
"created_at": -9007199254740991,
"expires_at": -9007199254740991,
"revoked_at": -9007199254740991,
"secret": "string"
}OK
idrequiredstringobjectrequiredunknownintegration_idrequiredstringnamerequiredstringdisplay_prefixrequiredstringscopesrequiredarray<>created_atrequiredintegerexpires_atrequiredintegerrevoked_atrequired|nullsecretrequiredstringShown once. Store securely on a trusted server; never place in browser code or a URL.