Gateway

Update an OAuth client

Updates OAuth application metadata, scopes, or redirect URIs. Requires oauth_clients:write.

patch/oauth-clients/{client_id}

Request

  • Base URL: https://api.phaseo.app/v1
  • URL: https://api.phaseo.app/v1/oauth-clients/{client_id}
  • Auth: HTTP bearer

Request body

namestring
allowed_scopesstring[]
descriptionstring
homepage_urlstring uri
redirect_urisstring[]
logo_urlstring uri
privacy_policy_urlstring uri
terms_of_service_urlstring uri

Response

OAuth client updated

client_idstring required
workspace_idstring required
namestring required
client_type'public' | 'confidential' required
redirect_urisstring[] required
allowed_scopesstring[]
descriptionstring nullable
homepage_urlstring nullable
logo_urlstring nullable
privacy_policy_urlstring nullable
terms_of_service_urlstring nullable
statusstring required
active_authorizationsinteger
total_authorizationsinteger
requests_last_30dinteger
last_used_atstring date-time nullable
created_atstring date-time nullable
updated_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.