Create a project user role
Assigns a user to a project role on the project.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Path parameters
projectId
The unique identifier of the project.
Headers
X-Studies-Api-Version
Request
The project role and user to assign.
project_role_id
The unique identifier of the project role.
user_id
The unique identifier of the user.
Response headers
X-RateLimit-Limit
The number of requests permitted in the current rate limit window.
X-RateLimit-Remaining
The number of requests still available in the current rate limit window. When several limits apply, this reflects the per-API-key limit, so a request can be rejected while this value is above zero.
X-RateLimit-Reset
The number of seconds until the current rate limit window resets.
Response
The project user role was created.
id
Unique identifier for a project user role.
role
The project role associated to a project user role.
user
The user associated to a project user role.
project
A project that groups related studies.
created_at
UTC timestamp with microsecond precision, always suffixed with Z, in the form yyyy-MM-ddTHH:mm:ss.SSSSSSZ.
updated_at
UTC timestamp with microsecond precision, always suffixed with Z, in the form yyyy-MM-ddTHH:mm:ss.SSSSSSZ.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error