Skip to content

OAuth clients

OAuth clients: 15 operations, tagged oauth-clients in the OpenAPI document.

Method Path Summary
GET /api/oauth-clients List OAuth clients
POST /api/oauth-clients Create an OAuth client
GET /api/oauth-clients/by-client-id/{clientId} Get an OAuth client by its client_id (SDK lookup)
GET /api/oauth-clients/{id} Get an OAuth client by id
PUT /api/oauth-clients/{id} Update an OAuth client
DELETE /api/oauth-clients/{id} Delete an OAuth client
POST /api/oauth-clients/{id}/activate Activate an OAuth client
GET /api/oauth-clients/{id}/credential-publication Read whether and where an OAuth client’s credentials are published
PUT /api/oauth-clients/{id}/credential-publication Switch on publishing a confidential OAuth client’s credentials to the configured store
DELETE /api/oauth-clients/{id}/credential-publication Switch off publishing; the published parameters are deleted
POST /api/oauth-clients/{id}/credential-publication/retry Retry the waiting publishes now
POST /api/oauth-clients/{id}/deactivate Deactivate an OAuth client
POST /api/oauth-clients/{id}/regenerate-secret Regenerate an OAuth client’s secret (SDK alias of rotate-secret)
POST /api/oauth-clients/{id}/revoke-previous-secret End a secret-rotation overlap immediately
POST /api/oauth-clients/{id}/rotate-secret Rotate an OAuth client’s secret

List OAuth clients

Operation ID: listOAuthClients

Responses

Status Description Body
200 OK application/json OAuthClientListResponse
default Error application/json ErrorModel

Create an OAuth client

Operation ID: createOAuthClient

Request body (required)

Content type Schema
application/json CreateOAuthClientRequest

Responses

Status Description Body
201 Created application/json CreateOAuthClientResponse
default Error application/json ErrorModel

GET /api/oauth-clients/by-client-id/{clientId}

Section titled “GET /api/oauth-clients/by-client-id/{clientId}”

Get an OAuth client by its client_id (SDK lookup)

Operation ID: getOAuthClientByClientID

Parameters

Name In Type Required Description
clientId path string yes

Responses

Status Description Body
200 OK application/json OAuthClientResponse
default Error application/json ErrorModel

Get an OAuth client by id

Operation ID: getOAuthClient

Parameters

Name In Type Required Description
id path string yes

Responses

Status Description Body
200 OK application/json OAuthClientResponse
default Error application/json ErrorModel

Update an OAuth client

Operation ID: updateOAuthClient

Parameters

Name In Type Required Description
id path string yes

Request body (required)

Content type Schema
application/json UpdateOAuthClientRequest

Responses

Status Description Body
204 No Content none
default Error application/json ErrorModel

Delete an OAuth client

Operation ID: deleteOAuthClient

Parameters

Name In Type Required Description
id path string yes

Responses

Status Description Body
204 No Content none
default Error application/json ErrorModel

Activate an OAuth client

Operation ID: activateOAuthClient

Parameters

Name In Type Required Description
id path string yes

Responses

Status Description Body
200 OK application/json SuccessResponse
default Error application/json ErrorModel

GET /api/oauth-clients/{id}/credential-publication

Section titled “GET /api/oauth-clients/{id}/credential-publication”

Read whether and where an OAuth client’s credentials are published

Operation ID: getOAuthClientCredentialPublication

Parameters

Name In Type Required Description
id path string yes

Responses

Status Description Body
200 OK application/json PublicationResponse
default Error application/json ErrorModel

PUT /api/oauth-clients/{id}/credential-publication

Section titled “PUT /api/oauth-clients/{id}/credential-publication”

Switch on publishing a confidential OAuth client’s credentials to the configured store

Operation ID: enableOAuthClientCredentialPublication

Parameters

Name In Type Required Description
id path string yes

Request body

Content type Schema
application/json EnableRequest

Responses

Status Description Body
200 OK application/json PublicationResponse
default Error application/json ErrorModel

DELETE /api/oauth-clients/{id}/credential-publication

Section titled “DELETE /api/oauth-clients/{id}/credential-publication”

Switch off publishing; the published parameters are deleted

Operation ID: disableOAuthClientCredentialPublication

Parameters

Name In Type Required Description
id path string yes

Responses

Status Description Body
204 No Content none
default Error application/json ErrorModel

POST /api/oauth-clients/{id}/credential-publication/retry

Section titled “POST /api/oauth-clients/{id}/credential-publication/retry”

Retry the waiting publishes now

Operation ID: retryOAuthClientCredentialPublication

Parameters

Name In Type Required Description
id path string yes

Responses

Status Description Body
204 No Content none
default Error application/json ErrorModel

Deactivate an OAuth client

Operation ID: deactivateOAuthClient

Parameters

Name In Type Required Description
id path string yes

Responses

Status Description Body
200 OK application/json SuccessResponse
default Error application/json ErrorModel

POST /api/oauth-clients/{id}/regenerate-secret

Section titled “POST /api/oauth-clients/{id}/regenerate-secret”

Regenerate an OAuth client’s secret (SDK alias of rotate-secret)

Operation ID: regenerateOAuthClientSecret

Parameters

Name In Type Required Description
id path string yes

Request body

Content type Schema
application/json RotateOAuthClientSecretRequest

Responses

Status Description Body
200 OK application/json RotateOAuthClientSecretResponse
default Error application/json ErrorModel

POST /api/oauth-clients/{id}/revoke-previous-secret

Section titled “POST /api/oauth-clients/{id}/revoke-previous-secret”

End a secret-rotation overlap immediately

Operation ID: revokeOAuthClientPreviousSecret

Parameters

Name In Type Required Description
id path string yes

Responses

Status Description Body
200 OK application/json SuccessResponse
default Error application/json ErrorModel

POST /api/oauth-clients/{id}/rotate-secret

Section titled “POST /api/oauth-clients/{id}/rotate-secret”

Rotate an OAuth client’s secret

Operation ID: rotateOAuthClientSecret

Parameters

Name In Type Required Description
id path string yes

Request body

Content type Schema
application/json RotateOAuthClientSecretRequest

Responses

Status Description Body
200 OK application/json RotateOAuthClientSecretResponse
default Error application/json ErrorModel
Field Type Required Description
allowedOrigins string[] no
apiAccess boolean no
applicationIds string[] no
clientName string yes
clientType string yes PUBLIC or CONFIDENTIAL
defaultScopes string[] no
grantTypes string[] no
idTokenSignedResponseAlg string no Algorithm that signs ID tokens issued to this client (OIDC id_token_signed_response_alg). Default RS256; EdDSA is Ed25519 (RFC 8037); ML-DSA-65 is post-quantum (FIPS 204). One of: RS256, EdDSA, ML-DSA-65.
pkceRequired boolean no
portalAppId string no
portalClientId string no
postLogoutRedirectUris string[] no
principalId string no
publishBasePath string no Replaces the template’s path before the credential name; must lie under the platform’s publishing prefix.
publishCredentials boolean no Also publish the client id and secret to the configured store (Parameter Store). Omitted takes the platform default (never for a PUBLIC client or one belonging to a service account); true is refused 400 CREDENTIAL_PUBLISHING_UNAVAILABLE when publishing is not configured, CREDENTIAL_PUBLISHING_NOT_CONFIDENTIAL for a PUBLIC client, CREDENTIAL_PUBLISHING_LINKED for a service account’s client.
redirectUris string[] no
Field Type Required Description
client OAuthClientResponse yes
clientSecret string no
Field Type Required Description
basePath string no Replaces the template’s path before the credential name; must start and end with ‘/’ and lie under the deployment’s prefix. Omitted takes the template.
Field Type Required Description
attempts integer (int64) yes
credential string yes client-id, client-secret, auth-token or signing-secret
lastError string no
nextAttemptAt string (date-time) no
path string yes The full parameter name
publishedAt string (date-time) no
reference string yes The secret reference a function or ingestion uses to read it back
state string yes One of: PENDING_PUT, PUBLISHED, PENDING_DELETE, NOT_PUBLISHABLE.
Field Type Required Description
id string yes
name string yes
Field Type Required Description
clients OAuthClientResponse[] yes
Field Type Required Description
active boolean yes
allowedOrigins string[] yes
apiAccess boolean yes
applicationIds string[] yes
applications OAuthClientApplicationRef[] yes
clientId string yes
clientName string yes
clientType string yes
createdAt string (date-time) yes
defaultScopes string[] yes
grantTypes string[] yes
id string yes
idTokenSignedResponseAlg string yes Algorithm that signs ID tokens issued to this client (OIDC id_token_signed_response_alg). One of: RS256, EdDSA, ML-DSA-65.
pkceRequired boolean yes
portalAppId string no
portalClientId string no
postLogoutRedirectUris string[] yes
previousSecretExpiresAt string (date-time) no
previousSecretLastUsedAt string (date-time) no
redirectUris string[] yes
serviceAccountPrincipalId string no
updatedAt string (date-time) yes
Field Type Required Description
available boolean yes Whether this platform is configured to publish credentials at all
basePath string no
enabled boolean yes
enabledAt string (date-time) no
enabledBy string no
items ItemResponse[] yes
linkedServiceAccountId string no OAuth clients only: set when the client belongs to a service account, whose publication carries its credentials
store string no
Field Type Required Description
graceSeconds integer (int64) no
Field Type Required Description
clientId string yes
clientSecret string no
previousSecretExpiresAt string (date-time) no
Field Type Required Description
message string no
success boolean yes
Field Type Required Description
allowedOrigins string[] no
apiAccess boolean no
applicationIds string[] no
clientName string no
defaultScopes string[] no
grantTypes string[] no
idTokenSignedResponseAlg string no Algorithm that signs ID tokens issued to this client: RS256, EdDSA or ML-DSA-65. Empty string resets to the default (RS256); omitted keeps the current value.
pkceRequired boolean no
portalAppId string no
portalClientId string no
postLogoutRedirectUris string[] no
redirectUris string[] no