INPUT_OBJECT

SetResourceRestrictionInput

SetResourceRestrictionInput sets a restriction for the given resourceID.

link GraphQL Schema definition

1input SetResourceRestrictionInput {
4
2# The ID of the resource to set the restriction on.
3resourceID: ID!
7
5# The type of resource that will be restricted.
6resourceType: RestrictionResource!
10
8# The restriction options, if any, to apply to the restriction being created.
9restrictionOptions: [ResourceRestrictionOption!]
14
11# The type of restriction that should be placed onto the channel. If empty, the
12# restriction will be deleted.
13restrictionType: ResourceRestrictionType
15}