Skip to content

Remove Policy Grant

datazone_remove_policy_grant R Documentation

Removes a policy grant

Description

Removes a policy grant.

Usage

datazone_remove_policy_grant(clientToken, domainIdentifier,
  entityIdentifier, entityType, policyType, principal)

Arguments

clientToken

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

domainIdentifier

[required] The ID of the domain where you want to remove a policy grant.

entityIdentifier

[required] The ID of the entity from which you want to remove a policy grant.

entityType

[required] The type of the entity from which you want to remove a policy grant.

policyType

[required] The type of the policy that you want to remove.

principal

[required] The principal from which you want to remove a policy grant.

Value

An empty list.

Request syntax

svc$remove_policy_grant(
  clientToken = "string",
  domainIdentifier = "string",
  entityIdentifier = "string",
  entityType = "DOMAIN_UNIT"|"ENVIRONMENT_BLUEPRINT_CONFIGURATION"|"ENVIRONMENT_PROFILE",
  policyType = "CREATE_DOMAIN_UNIT"|"OVERRIDE_DOMAIN_UNIT_OWNERS"|"ADD_TO_PROJECT_MEMBER_POOL"|"OVERRIDE_PROJECT_OWNERS"|"CREATE_GLOSSARY"|"CREATE_FORM_TYPE"|"CREATE_ASSET_TYPE"|"CREATE_PROJECT"|"CREATE_ENVIRONMENT_PROFILE"|"DELEGATE_CREATE_ENVIRONMENT_PROFILE"|"CREATE_ENVIRONMENT",
  principal = list(
    domainUnit = list(
      domainUnitDesignation = "OWNER",
      domainUnitGrantFilter = list(
        allDomainUnitsGrantFilter = list()
      ),
      domainUnitIdentifier = "string"
    ),
    group = list(
      groupIdentifier = "string"
    ),
    project = list(
      projectDesignation = "OWNER"|"CONTRIBUTOR",
      projectGrantFilter = list(
        domainUnitFilter = list(
          domainUnit = "string",
          includeChildDomainUnits = TRUE|FALSE
        )
      ),
      projectIdentifier = "string"
    ),
    user = list(
      allUsersGrantFilter = list(),
      userIdentifier = "string"
    )
  )
)