v44

latestOpenAPI 3.0.0MITraw.githubusercontent.com2024-11-0494279768.0 KB
Projects

Modifies a user's role in the project.

post/organization/projects/{project_id}/users/{user_id}

Path parameters

project_idstring required

The ID of the project.

user_idstring required

The ID of the user.

Request body

role'owner' | 'member' required

owner or member

Response

Project user's role updated successfully.

object'organization.project.user' required

The object type, which is always organization.project.user

idstring required

The identifier, which can be referenced in API endpoints

namestring required

The name of the user

emailstring required

The email address of the user

role'owner' | 'member' required

owner or member

added_atinteger required

The Unix timestamp (in seconds) of when the project was added.