Skip to main content
PUT
/
users
/
{user_id}
/
labels
curl --request PUT \
  --url https://api.projectcor.com/v1/users/{user_id}/labels \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "labelId": 3003
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
integer
required

User ID

Body

application/json
labelId
integer
required

Label ID to assign or unassign

unassign
boolean
default:false

Set to true to remove label from the user. Omit or set to false to assign the label.

Response

200

Label updated successfully