Skip to main content

createGroupPolicy

form schema

Attach an ABAC policy to a group.

Group policies control what users and service accounts who are members of the group can do. Pair with policyActions to enumerate the catalog of available actions, and the access-control guide for common patterns.

createGroupPolicy(
organizationId: ID!
groupId: UUID!
input: CreateGroupPolicyInput!
): PolicyPayload

Form Schema

This mutation supports dynamic form generation using JSON Schema.

Loading schema...

Arguments

createGroupPolicy.organizationId ● ID! non-null scalar {#organization-id}

Your organization's unique identifier.

createGroupPolicy.groupId ● UUID! non-null scalar {#group-id}

The group to attach the policy to.

createGroupPolicy.input ● CreateGroupPolicyInput! non-null input {#input}

Attach an ABAC policy to a group. Each policy grants or denies one or more actions on entities whose attributes satisfy the conditions.

Type

PolicyPayload object