v44

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

Modifies a user's role in the organization.

post/organization/users/{user_id}

Path parameters

user_idstring required

The ID of the user.

Request body

role'owner' | 'reader' required

owner or reader

Response

User role updated successfully.

object'organization.user' required

The object type, which is always organization.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' | 'reader' required

owner or reader

added_atinteger required

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