Credentials

Create API credential

Creates a new API credential for authenticating automated processes and integrations with the HiddenLayer API. The credential consists of an immutable client ID and client secret pair.

If no expiry is provided, the credential will automatically expire one year from creation. In accordance with standard industry best practices, it is not recommended to set an expiration date-time more than 365 days in the future. If an expiration date is set more than 365 days in the future, the request will be rejected with a 422 Unprocessable Entity response.

By default, if no permissions are specified, the credential will be granted all available permissions. To restrict the credential to specific permissions, provide a list of permission strings. The available permissions can be found by calling the <a href="#operation/list_permissions_api_v2_permissions_get">/api/v2/permissions</a> endpoint.

post/api/v2/credentials

Response

Created Credentials

Changes