Projects

Modify project user

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

rolestring nullable

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 nullable

The name of the user

emailstring nullable

The email address of the user

rolestring required

owner or member

added_atinteger required

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

Changes

Changed in 2 of the 31 revisions of this API.65

    • removed the enum value member of the request property role

      request-property-enum-value-removed

    • removed the enum value owner of the request property role

      request-property-enum-value-removed

    • the response property email became optional for the status 200

      response-property-became-optional

    • the response property name became optional for the status 200

      response-property-became-optional

    • response property email list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property name list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • the request property role became optional

      request-property-became-optional

    • request property role list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    • removed the member enum value from the role response property for the response status 200

      response-property-enum-value-removed

    • removed the owner enum value from the role response property for the response status 200

      response-property-enum-value-removed

    • the endpoint scheme security AdminApiKeyAuth was added to the API

      api-security-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog