Users
Update a user
To update only specific attributes of an existing user, send a PATCH request to /v2/users/$USER_ID. Values in the request body for immutable or read-only fields get ignored. Fields omitted from the request body will be left unchanged. If the request conflicts with an existing resource, you'll receive a 409 error.
patch/v2/users/{user_id}
Request
- Base URLhttps://api.byndid.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring required
Example:25f94daf-63d8-4b40-b0ea-4843971d1d8e
A unique identifier for a user.
Request body
Example request
{
"user": {
"id": "e7bb3e0b-91fd-432a-bc96-55801329adbf",
"create_time": "2022-04-12T05:53:07.119Z",
"update_time": "2022-06-16T14:31:03.770Z",
"last_auth_time": "2022-06-16T14:31:03.770Z",
"tenant_id": "acme-corp",
"external_id": "0001f1f460b1ace6",
"email_address": "alice@acmecorp.com",
"username": "alice.acmecorp",
"display_name": "Alice Acmecorp",
"state": "ACTIVE",
"source": "scim",
"has_active_passkey": true
}
}Response
The response is a JSON object containing standard user attributes.
Example response
{
"id": "e7bb3e0b-91fd-432a-bc96-55801329adbf",
"create_time": "2022-04-12T05:53:07.119Z",
"update_time": "2022-06-16T14:31:03.770Z",
"last_auth_time": "2022-06-16T14:31:03.770Z",
"tenant_id": "acme-corp",
"external_id": "0001f1f460b1ace6",
"email_address": "alice@acmecorp.com",
"username": "alice.acmecorp",
"display_name": "Alice Acmecorp",
"state": "ACTIVE",
"source": "scim",
"has_active_passkey": true
}Changes
No recorded changes to this operation across all 1 revision of this API.