Users
Update client
PATCH
/
users
/
{id}
Copy
curl --request PATCH \
--url https://api.identety.dev/users/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "John Doe",
"givenName": "John",
"familyName": "Doe",
"picture": "https://example.com/photo.jpg",
"locale": "en-US",
"address": {
"streetAddress": "123 Main St",
"locality": "New York",
"region": "NY",
"postalCode": "10001",
"country": "USA"
},
"metadata": {
"customField": "value"
}
}'
Copy
{
"id": "43fad864-738d-4367-a012-2b8c6948c36a",
"name": "John Doe",
"givenName": "John",
"familyName": "Doe",
"picture": "https://example.com/photo.jpg",
"locale": "en-US",
"address": {
"streetAddress": "123 Main St",
"locality": "New York",
"region": "NY",
"postalCode": "10001",
"country": "USA"
},
"metadata": {
"customField": "value"
}
}
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
Client updated successfully
The response is of type object
.
Copy
curl --request PATCH \
--url https://api.identety.dev/users/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "John Doe",
"givenName": "John",
"familyName": "Doe",
"picture": "https://example.com/photo.jpg",
"locale": "en-US",
"address": {
"streetAddress": "123 Main St",
"locality": "New York",
"region": "NY",
"postalCode": "10001",
"country": "USA"
},
"metadata": {
"customField": "value"
}
}'
Copy
{
"id": "43fad864-738d-4367-a012-2b8c6948c36a",
"name": "John Doe",
"givenName": "John",
"familyName": "Doe",
"picture": "https://example.com/photo.jpg",
"locale": "en-US",
"address": {
"streetAddress": "123 Main St",
"locality": "New York",
"region": "NY",
"postalCode": "10001",
"country": "USA"
},
"metadata": {
"customField": "value"
}
}
Assistant
Responses are generated using AI and may contain mistakes.