Create a PKCE-only public OAuth client through an operation-bound projection.
POST
/api/admin/agent-write/clients/public
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/agent-write/clients/public \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: example' \ --data '{ "client_name": "example", "application_type": "spa", "redirect_uris": [ "https://example.com" ], "allowed_redirect_origins": [ "https://example.com" ], "scope": "example", "grant_types": [ "authorization_code" ], "response_types": [ "code" ], "token_endpoint_auth_method": "none", "require_pkce": true, "client_credentials_allowed": false, "token_exchange_allowed": false, "is_trusted": false, "skip_consent": false }'The owner fixes the grant, response, authentication, trust, and delegation profile and never returns generated credential material.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” Idempotency-Key
required
string
Request Body required
Section titled “Request Body required ” Media type application/json
object
client_name
required
string
application_type
required
string
redirect_uris
required
Array<string>
allowed_redirect_origins
Array<string>
scope
string
grant_types
required
Array<string>
response_types
required
Array<string>
token_endpoint_auth_method
required
string
require_pkce
required
boolean
client_credentials_allowed
required
boolean
token_exchange_allowed
required
boolean
is_trusted
required
boolean
skip_consent
required
boolean
key
additional properties
Responses
Section titled “ Responses ”Public client representation without credential material.
Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}