Update Contact Role
PUT
/v1/bolts/{boltId}/users/{userId}Update the role of a Bolt's user.
Request
Path Params
boltId
string
required
The ID of your Bolt.
Example:
1234
userId
integer
required
The user ID can be retrieved via the List Contacts endpoint.
Example:
4567
Body Params application/json
data
object
required
attributes
object
required
Example
{
"data": {
"attributes": {
"role": "technical"
}
}
}
Request samples
Responses
OK(200)
Parameter Error(422)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
id
integer
required
type
string
required
attributes
object
required
Example
{
"data": {
"id": 0,
"type": "string",
"attributes": {
"name": "string",
"email": "string",
"mobile": "string",
"country": "string",
"role": "string",
"pending": true
}
}
}
Last modified: 5 months ago