Skip to main content
PUT
/
v1
/
oauth
/
register
/
{client_id}
Update an OAuth client
curl --request PUT \
  --url https://api.hq.zone/v1/oauth/register/{client_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_name": "<string>",
  "grant_types": [
    "<string>"
  ],
  "redirect_uris": [
    "<string>"
  ],
  "response_types": [
    "<string>"
  ],
  "scope": "<string>",
  "token_endpoint_auth_method": "<string>"
}
'
{
  "client_id": "<string>",
  "client_id_issued_at": 123,
  "client_name": "<string>",
  "grant_types": [
    "<string>"
  ],
  "redirect_uris": [
    "<string>"
  ],
  "registration_client_uri": "<string>",
  "response_types": [
    "<string>"
  ],
  "scope": "<string>",
  "token_endpoint_auth_method": "<string>",
  "client_secret": "<string>",
  "client_secret_expires_at": 123,
  "registration_access_token": "<string>"
}

Path Parameters

client_id
string
required

Client id

Body

application/json
client_name
string | null
grant_types
string[] | null
redirect_uris
string[]
response_types
string[] | null
scope
string | null

Space-delimited capability scopes the client may request.

token_endpoint_auth_method
string | null

Response

Updated client metadata (RFC 7592)

client_id
string
required
client_id_issued_at
integer<int64>
required
client_name
string
required
grant_types
string[]
required
redirect_uris
string[]
required
registration_client_uri
string
required
response_types
string[]
required
scope
string
required
token_endpoint_auth_method
string
required
client_secret
string | null
client_secret_expires_at
integer<int64> | null
registration_access_token
string | null