Update an identity
Changed onPartially updates an existing principal identity by modifying only the provided fields. Unspecified fields will retain their current values.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
ID of the directory
Unique identifier of the principal (UUID format)
Unique identifier of the principal identity (UUID format)
Request body
Request body for partially updating a principal identity. The identity type cannot be changed. All fields are optional; only the fields relevant to the existing identity type will be applied.
The issuer URL. Applicable to oidc type identities.
The auth server ID. Applicable to auth_server_client type identities.
The client ID. Applicable to auth_server_client type identities.
The control plane ID. Applicable to control_plane_consumer type identities.
The workspace ID. Applicable to control_plane_consumer type identities.
The consumer ID. Applicable to control_plane_consumer type identities.
The key. Applicable to custom type identities.
The value. Applicable to custom type identities.
Response
A principal identity
Example response
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"labels": {
"env": "test"
},
"managed_by": {
"owner": "terraform"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- info
the
typeresponse property const valueauth_server_clientwas added for the status - info
the
typeresponse property const valuecontrol_plane_consumerwas added for the status - info
the
typeresponse property const valuecustomwas added for the status
5 more changes in this revision
- info