Home > @uniformdev/mesh-sdk > IntegrationDefinitionClient > rotateCredential

IntegrationDefinitionClient.rotateCredential() method

Mints or rotates an identity-delegation credential for an integration definition. The plaintext appSecret is returned exactly once and is not retrievable afterwards — Uniform stores only the hash. A successful response invalidates any previously-issued secret of the same kind. Caller must be a team admin.

Signature:

Parameters

Parameter

Type

Description

body

Omit<IntegrationCredentialRotateParameters, 'teamId'>

Returns:

Promise<IntegrationCredentialRotateResponse>