API credentials
Update an API credential
This endpoint updates one or more fields on an existing API credential. For more information on API credentials, see Configure API credentials and connectors in Sigma.
Usage notes
- The user making this request must be assigned an account type with the Manage API connectors permission enabled and have Can edit access to the API credential.
- Retrieve the apiCredentialId by calling the /v2/api-credentials endpoint.
- Omitted fields are left unchanged.
- If a credential is provided, the provided authentication details (ID, secret, etc.) replace the previous values. To leave secrets unchanged, omit the credential parameter.
Usage scenarios
- Secret rotation: Update the secret fields for a credential automatically for an external service.
- Allowlist updates: Expand or restrict the set of hostnames the credential can be used against.
patch/v2/api-credentials/{apiCredentialId}
Request
- Base URLhttps://api.sigmacomputing.com
- AuthHTTP bearer
Path parameters
apiCredentialIdstring required
Request body
Response
The response body.
Changes
No recorded changes to this operation across all 1 revision of this API.