projects

Update User Project Collaborator

Update the sharing permissions of a user on a project.

patch/v2/projects/{project_id}/users/{user_id}

Path parameters

project_idstring uuid4 required
user_idstring uuid4 required

Request body

role'owner' | 'editor' | 'annotator' | 'viewer' required

Response

Successful Response

idstring uuid4 required
role'owner' | 'editor' | 'annotator' | 'viewer' required
created_atstring date-time required
user_idstring uuid4 required
first_namestring nullable required
last_namestring nullable required
emailstring required

Changes

Changed in 3 of the 14 revisions of this API.31

    • added the new read_unredacted_data enum value to the permissions/items/action/anyOf[subschema #12: OrganizationAction]/ response property for the response status 200

      response-property-enum-value-added

    • added the new read_ai_usage_organization enum value to the permissions/items/action/anyOf[subschema #12: OrganizationAction]/ response property for the response status 200

      response-property-enum-value-added

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

  • 05003e7835a211See the full diff
    • added the new read_ai_usage enum value to the permissions/items/action/anyOf[subschema #12: OrganizationAction]/ response property for the response status 200

      response-property-enum-value-added

    • the endpoint scheme security ClassicAPIKeyHeader was added to the API

      api-security-added

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