documentSpaces

Updates a document space contributor's access.

Changed on

Updates the specified contributor's access to the document space and its documents.

<Check title="Required Permissions" icon="key">The user must be an admin.</Check>

put/documentspaces/{documentSpaceId}/contributors/{documentSpaceContributorId}

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/documentspaces/{documentSpaceId}/contributors/{documentSpaceContributorId}
  • Auth: HTTP bearer

Path parameters

documentSpaceIdstring uuid required

The id of the document space.

documentSpaceContributorIdstring uuid required

The id of the document space contributor.

Request body

accessLevel'read' | 'manage' required

Determines the level of access granted to this contributor with respect to the referenced entity. Can be either set to read or manage.

Response

OK

idstring uuid

The id of the contributor.

userIdstring uuid

The id of the user this contributor references.

accessLevelstring nullable

Determines the level of access granted to this contributor with respect to the specific entity. Can be either set to read or manage.

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id PutDocumentSpaceContributorByDocumentSpaceIdAndDocumentSpaceContributorId removed and replaced with documentSpaces_PutDocumentSpaceContributorByDocumentSpaceIdAndDocumentSpaceContributorId