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
}
'Users
Assign or unassign user label
Updates a label for a specified user by their user ID. It assigns a new label to the user or unassigns the existing label with the specified labelId.
To assign a label: Omit the unassign property or set it to false.
To remove a label: Set unassign to true.
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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
User ID
Body
application/json
Response
200
Label updated successfully
Was this page helpful?

