OAuth Clients
List OAuth Clients
client.iam.oauthClients.list(OAuthClientListParams { account_id } params, RequestOptionsoptions?): SinglePage<OAuthClientListResponse { client_id, visibility, allowed_cors_origins, 16 more } >
GET/accounts/{account_id}/oauth_clients
OAuth Client Details
client.iam.oauthClients.get(stringoauthClientId, OAuthClientGetParams { account_id } params, RequestOptionsoptions?): OAuthClientGetResponse { client_id, visibility, allowed_cors_origins, 16 more }
GET/accounts/{account_id}/oauth_clients/{oauth_client_id}
Create OAuth Client
client.iam.oauthClients.create(OAuthClientCreateParams { account_id, client_name, grant_types, 10 more } params, RequestOptionsoptions?): OAuthClientCreateResponse { client_id, visibility, allowed_cors_origins, 17 more }
POST/accounts/{account_id}/oauth_clients
Update OAuth Client
client.iam.oauthClients.update(stringoauthClientId, OAuthClientUpdateParams { account_id, allowed_cors_origins, client_name, 11 more } params, RequestOptionsoptions?): OAuthClientUpdateResponse { client_id, visibility, allowed_cors_origins, 16 more }
PATCH/accounts/{account_id}/oauth_clients/{oauth_client_id}
Delete OAuth Client
client.iam.oauthClients.delete(stringoauthClientId, OAuthClientDeleteParams { account_id } params, RequestOptionsoptions?): OAuthClientDeleteResponse { id } | null
DELETE/accounts/{account_id}/oauth_clients/{oauth_client_id}
Rotate OAuth Client Secret
client.iam.oauthClients.rotateSecret(stringoauthClientId, OAuthClientRotateSecretParams { account_id } params, RequestOptionsoptions?): OAuthClientRotateSecretResponse { client_secret }
POST/accounts/{account_id}/oauth_clients/{oauth_client_id}/rotate_secret
Delete Rotated OAuth Client Secret
client.iam.oauthClients.deleteRotatedSecret(stringoauthClientId, OAuthClientDeleteRotatedSecretParams { account_id } params, RequestOptionsoptions?): OAuthClientDeleteRotatedSecretResponse { id } | null
DELETE/accounts/{account_id}/oauth_clients/{oauth_client_id}/rotate_secret