delete_mailbox_permissions

WorkMail.Client.delete_mailbox_permissions(**kwargs)

Deletes permissions granted to a member (user or group).

See also: AWS API Documentation

Request Syntax

response = client.delete_mailbox_permissions(
    OrganizationId='string',
    EntityId='string',
    GranteeId='string'
)
Parameters
  • OrganizationId (string) --

    [REQUIRED]

    The identifier of the organization under which the member (user or group) exists.

  • EntityId (string) --

    [REQUIRED]

    The identifier of the member (user or group) that owns the mailbox.

  • GranteeId (string) --

    [REQUIRED]

    The identifier of the member (user or group) for which to delete granted permissions.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • WorkMail.Client.exceptions.EntityNotFoundException
  • WorkMail.Client.exceptions.EntityStateException
  • WorkMail.Client.exceptions.InvalidParameterException
  • WorkMail.Client.exceptions.OrganizationNotFoundException
  • WorkMail.Client.exceptions.OrganizationStateException