sharing

Update a user <-> project relation

Update a user <-> project relation. Mostly used to update the permission that user has.

post/projects/{projectID}/users/{userID}

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/projects/{projectID}/users/{userID}
  • Auth
    API key in header Authorization

Path parameters

projectIDinteger required

Project ID

userIDinteger required

User ID

Request body

createdstring

A timestamp when this relation was created. You cannot change this value.

idinteger

The unique, numeric id of this project <-> user relation.

permission0 | 1 | 2
updatedstring

A timestamp when this relation was last updated. You cannot change this value.

usernamestring

The username.

Response

The updated user <-> project relation.

createdstring

A timestamp when this relation was created. You cannot change this value.

idinteger

The unique, numeric id of this project <-> user relation.

permission0 | 1 | 2
updatedstring

A timestamp when this relation was last updated. You cannot change this value.

usernamestring

The username.

Changes

No recorded changes to this operation across all 74 revisions of this API.