Create user job permission

Grants a user a role on one job and returns the user job permission. A user holds one role per job, so this replaces any role they already have on that job. For a Site Admin it creates nothing and returns no body. To grant a role on jobs created later, use POST /v3/future_job_permissions.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required

Id of the job to grant access to, from GET /v3/jobs. Must reference a job in the caller's organization.

integer
required

Id of the user who should receive the role on this job, from GET /v3/users. Must reference a user in the caller's organization. If the user is a site admin, the request returns 204 No Content and creates no permission. Site admins already have access to every non-confidential job.

integer
required

Id of the job_admin role to grant on this job, from GET /v3/user_roles. The API refuses site_admin roles.

Responses

204

Successful (No Content)

401

Unauthorized

403

Forbidden

422

Unprocessable Content

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json