{"templateId":"api_docs","sharedDataIds":{"apiDocsStore":"api-docs-ReferenceV3/swagger.json","sidebar":"sidebar-sidebar.yaml__referencev3_swagger"},"props":{"definitionId":"ReferenceV3/swagger.json","settings":{"baseUrlPath":"/referencev3/swagger"},"disableAutoScroll":true,"seo":{"title":"Rotate a credential's secret","description":"Issues a new client secret for the credential and returns it with the credential, the token URL andthe audience. The secret is shown once: Talli does not store it. The previous secret stops working,and access tokens already issued keep working until they expire. A credential can rotate its ownsecret. A call with the token of a credential that no longer exists gets 403 with error codeCALLER_CREDENTIAL_NOT_FOUND. Returns 404 when the organization has no credential with this clientID, and 502 when the rotation failed or could not be confirmed. After a 502 or any other 5xx, callagain: the previous secret may already have stopped working."},"dynamicMarkdocComponents":[],"metadata":{"subType":"openapi-operation"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"docs.talli.ai","port":4000,"ipAddress":"216.73.217.42"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"main"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/referencev3/swagger/credentials/paths/~1v3~1distribution-manager~1credentials~1{clientid}~1:rotate-secret/post","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}