Skip to main content
POST
Update user label assignments

Authorizations

Authorization
string
header
required

All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.

Body

application/json
userLabelAssignments
object
required

Map of user email to the list of user label values that should be assigned to the user

Example:

"\n {\n \"user@email.com\": [\n {\"id\": \"ul2da8159dbeefb974\", \"name\": \"Coding Language\", \"value\": \"Java\"},\n {\"id\": \"ul2da8159234bsdfas\", \"name\": \"Engineering Level\", \"value\": \"Senior\"}\n ],\n \"another_user@email.com\": [\n {\"id\": \"ul2da8159dbeefb974\", \"name\": \"Coding Language\", \"value\": \"Typescript\"},\n ]\n }\n "

Response

Successfully updated user label assignments

userLabelAssignments
object
required

Map of user email to the list of assigned user label values

Last modified on September 24, 2026