Try it free

Remove recipients from a direct share

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Remove recipients from a direct share in Dynatrace with the Document API and immediately revoke their access to the document.

POSTSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/document/v1/direct-shares/{id}/recipients/remove

Overview

Remove one or multiple recipients from the share. The affected users immediately lose access to the document.

You can only remove recipients from shares which are accessible to you. Shares accessible to you include those of your own documents, as well as those of reshareable documents owned by other users to which you have write access. The maximum number of recipients is 1000.

Non-existing users or groups are ignored.

Authentication

To execute this request, you need a platform token or OAuth access token with document:direct-shares:write scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
bodyRemoveDirectShareRecipients

Input required to remove recipients from a direct-share.

bodyRequired

Request body objects

The RemoveDirectShareRecipients object

Input required to remove recipients from a direct-share.

ElementTypeDescriptionRequired
idsstring[]-Required

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

{
"ids": [
"string"
]
}

Response

Response codes

CodeDescription
204

The recipients have been removed.

400-
401-
403-
404-
500-
503-
default-
Related tags
Platform APIDynatrace Platform