Create access profile
Create an access profile belonging to an API client. To use this endpoint, the account must contain at least one API to assign to the access profile.
DEPRECATION NOTICE
This endpoint is planned for deprecation on December 1, 2025. Transition to the Create API key endpoint before this date to ensure uninterrupted service.- Auth token authorization: returns the auth token in the secret response.
- JWT token: has two signing methods: HMAC and RSA. Depending on the method you choose, the respective secret or public is required in the payload.
- OAuth 2.0: authorization returns the client ID and secret in
oauth_client_id
andoauth_client secret
.
Path parameters
Embedded customer ID (external ID). The External ID must be URL encoded and prefixed with an E
. For example, EA2300
.
Headers
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Authentication method to validate requests. Available types are: token
, jwt
, oauth2
, and oidc
.
The JWT signing method. If the auth_type
is jwt
, this is required. Available methods are hmac
and rsa
for HMAC and RSA respectively.
Discovery URL of identity provider or OIDC service. Provide only one of this or oidc_jwks_uri
, not both. Only applicable if auth_type
is jwt
or oidc
.
JWKS URL of identity provider or OIDC service. Provide the URL or oidc_issuer
, not both. Only applicable if auth_type
is jwt
or oidc
.
If you wish to use a custom claim to identify this access profile, provide the JWT claim key here. Only applicable if auth_type
is jwt
or oidc
.
Provide a list of claims that you plan to enforce. Only applicable if auth_type
is jwt
or oidc
.
Provide a list of issuers (represented by the ‘iss’ value in JWT claims) that you plan to allow. If the iss
claim is enforced in required_claims
, leave this field blank to accept any iss
value. This parameter is only applicable when auth_type
is set to jwt
or oidc
.
Response
Authentication method used in the access profile. Possible values are: token
, jwt
, oauth2
, or oidc
.
The JWT signing method. Available methods are hmac
and rsa
for HMAC and RSA respectively. Only applicable if the auth_type
is jwt
.
Discovery URL of identity provider or OIDC service. Provide the URL or oidc_jwks_uri
, not both. Only applicable if auth_type
is jwt
or oidc
.
JWKS URL of identity provider or OIDC service. Provide only one of this or oidc_issuer
, not both. Only applicable if auth_type
is jwt
or oidc
.
Provide the JWT claim if you plan to use a custom claim to identify this access profile. Only applicable if auth_type
is jwt
or oidc
.
Provide a list of claims that you plan to enforce. Only applicable if auth_type
is jwt
or oidc
.
Provide a list of issuers (represented by the iss
value in JWT claims) that you plan to allow. If the iss
claim is enforced in required_claims
, leave this field blank to accept any iss
value. This parameter is only applicable when auth_type
is set to jwt
or oidc
.