Olympus Docs
ReferenceAPIsOry Identities APIidentity

Patch an Identity

Partially updates an [identity's](https://www.ory.com/docs/kratos/concepts/identity-user-model) field using [JSON Patch](https://jsonpatch.com/).

PATCH /admin/identities/{id}

Partially updates an identity's field using JSON Patch. The fields id, stateChangedAt and credentials can not be updated using this method.

Operation ID: patchIdentity    Tag: identity

Path parameters

NameTypeRequiredDescription
idstringyesID must be set to the ID of identity you want to update

Request body

Content-Type: application/json

Type: array of object

Schema: jsonPatchDocument, see the Ory Identities API schemas reference for the full type.

Responses

StatusDescriptionBody
200identityapplication/json, object
400errorGenericapplication/json, object
404errorGenericapplication/json, object
409errorGenericapplication/json, object
defaulterrorGenericapplication/json, object

Security

  • oryAccessToken

Generated from /tmp/kratos-api.json at build time.

On this page