partner-admin

Update an OAuth client

put/admin/partners/{partner_id}/oauth-clients/{client_pk}

Path parameters

partner_idinteger required
client_pkinteger required

Request body

allow_refresh_tokenboolean
allowed_scopesstring[]
client_type'confidential' | 'public'
display_namestring
homepage_urlstring nullable
is_activeboolean

Update only

privacy_policy_urlstring nullable
redirect_urisstring[]

Exact-match allowlist. No wildcards or prefix matching.

Response

Client updated

active_grant_countinteger
allow_refresh_tokenboolean
allowed_scopesstring[]
client_idstring
client_secretstring

Returned once, at creation and at rotation only

client_typestring
created_timestring date-time nullable
display_namestring
has_logoboolean

Whether an RxFood-hosted logo has been uploaded

has_secretboolean
homepage_urlstring nullable
idinteger
is_activeboolean
partner_idinteger
previous_secret_expires_atstring date-time nullable

When the superseded secret stops being accepted

privacy_policy_urlstring nullable
redirect_urisstring[]
require_hospital_membershipboolean
secret_rotated_timestring date-time nullable
updated_timestring date-time nullable

Changes

No recorded changes to this endpoint across all 15 revisions of this API.