Admin O Auth Client Create
Create an OAuth client. Confidential clients receive a generated secret once at creation time and must authenticate to `/oauth/token` when using confidential grants. Public clients do not receive or use a client secret.
Create an OAuth client.
Confidential clients receive a generated secret once at creation time
and must authenticate to /oauth/token when using confidential grants.
Public clients do not receive or use a client secret.
storyden-session<token>application/json- body
account_id*IdentifierA unique identifier for this resource.
xidclient_id*stringclient_secret_hash?stringname*stringtype*OAuthClientType"public""confidential"scope_policy?OAuthClientScopePolicy"explicit""inherit"redirect_uris*array<>allowed_scopes*array<string>allowed_grants*array<string>OAuth client.
application/json- response
id*IdentifierInitial Access Token that authorized creation, when applicable.
xidcreatedAt*CreatedAtThe time the resource was created.
date-timeupdatedAt*UpdatedAtThe time the resource was updated.
date-timeaccount_id?IdentifierInitial Access Token that authorized creation, when applicable.
xidregistration_approved_by_account_id?IdentifierInitial Access Token that authorized creation, when applicable.
xiddcr_iat_id?IdentifierInitial Access Token that authorized creation, when applicable.
xidclient_id*stringname*stringtype*OAuthClientType"public""confidential"scope_policy*OAuthClientScopePolicy"explicit""inherit"redirect_uris*array<>allowed_scopes*array<string>allowed_grants*array<string>curl -X POST 'https://example.com/api/admin/oauth/clients' \ -H 'Content-Type: application/json' \ -d '{ "account_id": "string", "client_id": "string", "name": "string", "type": "public", "redirect_uris": [ "http://example.com" ], "allowed_scopes": [ "string" ], "allowed_grants": [ "string" ]}'{ "id": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "account_id": "string", "registration_approved_by_account_id": "string", "dcr_iat_id": "string", "client_id": "string", "name": "string", "type": "public", "scope_policy": "explicit", "redirect_uris": [ "http://example.com" ], "allowed_scopes": [ "string" ], "allowed_grants": [ "string" ]}Admin Account Ban Remove DELETE
Given the account is suspended, remove the suspended state.
Admin O Auth Client Delete DELETE
Delete an OAuth client. Deleting a client also removes its pending OAuth records and refresh tokens, preventing existing grants from being renewed. Existing JWT access tokens are self-contained and remain valid until expiry.