Assign a job
Assigns the job to a user, or unassigns it. user_id is a user ID from GET /v4/users, or null to unassign; the key is required. The user must be active. With OAuth the assigning user is the authorizing user, who must not be overridden; an API key may name assigned_by, and without it nobody is notified. The assignee gets a notification when the assigning user is known. Requires jobs:write.
Body
user_ idstringrequiredUser ID, or null to unassign
assigned_ bystringAPI keys only: the assigning user's ID
Parameters
idstringrequiredpathJob ID
Response
Assignment set
Invalid id or body, or user_id missing
Invalid API key
Insufficient scope, or assigned_by is not the authorizing user
Job not found
Unknown or inactive user
Internal server error
Authorization
bearer_ authhttp (bearer) in headerAPI key or OAuth access token in Authorization header
Scopes: jobs:write
oauth2_ authoauth2OAuth authorization code flow with mandatory S256 PKCE.
Scopes: jobs:write
apikey_ authapiKey in queryAPI key in query string
Scopes: jobs:write
