Set project content policy
Replaces the project content policy and creates a new immutable revision. Graphs that already exist keep the revision they bound. An empty policy (no categories and no rules) removes the content policy for new graphs.
Authentication
AuthorizationApi-Key
Type "Api-Key" followed by a space and the project API key.
Request
The complete policy
categories
The categories of the policy. Maximum 16. An empty list with no rules
means no content policy.
rules
The rules of the policy. Maximum 32.
Response
OK
categories
The categories of the policy.
created_at
When this policy set was created.
revision
The project revision number. 0 is the empty policy of a new project.
rules
The rules of the policy.
uuid
The identifier of this policy set. A project revision and every graph
that binds it without additions share one uuid.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error