Users
Patch User
Users API endpoint performs a LinearB update user. Note: if custom_info is not provided, it will not be overwritten.
patch/api/v1/users/{user_id}
Request
- Base URLhttps://public-api.linearb.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idinteger required
User object ID
Request body
Example request
{
"name": "ada lovelace",
"email": "ada@lovelace.io",
"permission": {
"team_scopes": [
"All Teams"
]
},
"team_membership": [
{
"name": "Ada engineering",
"joined_at": "2025-01-01"
}
],
"custom_info": {
"extra_emails": [
"user@lovelace.io"
],
"extra_ids": [
"1234567890"
]
}
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.