Revoke Access

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 codes

Response content

Description

200 OK

The access to the object was revoked successfully.

400 Bad Request

Can't delete access from owner of team

If you're trying to change access to an object, whose owner you are not and you are owner of this team.

400 Bad Request

Can't delete access from owner object

If you're trying to change access to an object, whose owner you are and you are not owner of this team.

400 Bad Request

You can't share non team infographics.

The object key that was specified does not belong to your team.

400 Bad Request

Invalid access value

The permission that was specified is invalid.

400 Bad Request

Blocked access is not supported for Team

'Blocked' Permission couldn't be specified for the 'AccessOfTeam' parameter.

403 Forbidden

Access denied

Access to the object is denied.

404 Not Found

Object not found

The group or user ID that was specified doesn't exists.

Language
Credentials
Click Try It! to start a request and see the response here!