Revokes access to dashboard or report for the defined users, group(s) and team.

If none of the optional parameters are passed in the request, then all users and groups will lose access to the Object, including access via the direct link.

The following are the examples of HTTP status codes including errors that API can generate

Response codesResponse contentDescription
200 OKThe access to the object was revoked successfully.
400 Bad RequestCan't delete access from owner of teamIf you're trying to change access to an object, whose owner you are not and you are owner of this team.
400 Bad RequestCan't delete access from owner objectIf you're trying to change access to an object, whose owner you are and you are not owner of this team.
400 Bad RequestYou can't share non team infographics.The object key that was specified does not belong to your team.
400 Bad RequestInvalid access valueThe permission that was specified is invalid.
400 Bad RequestBlocked access is not supported for Team'Blocked' Permission couldn't be specified for the 'AccessOfTeam' parameter.
403 ForbiddenAccess deniedAccess to the object is denied.
404 Not FoundObject not foundThe group or user ID that was specified doesn't exists.
Language
Credentials
Click Try It! to start a request and see the response here!