documentSpaces

Deletes a team from the specified document space.

Changed on

Deletes the specified team and removes its access to the document space and its documents.

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

delete/documentspaces/{documentSpaceId}/teams/{documentSpaceToTeamId}

Request

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

Path parameters

documentSpaceIdstring uuid required

The id of the document space.

documentSpaceToTeamIdstring uuid required

The id of the document space to team connection.

Response

No Content

object required

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id DeleteDocumentSpaceTeamByDocumentSpaceIdAndDocumentSpaceToTeamId removed and replaced with documentSpaces_DeleteDocumentSpaceTeamByDocumentSpaceIdAndDocumentSpaceToTeamId