Delete inference policy

deleteInferencePolicy(projectReference: String!): Acknowledgement!

Requires project.settings.manage.

Arguments

ArgumentTypeRequiredDescription
projectReferenceString!YesProject ID or slug. Removes the policy and any recorded standard-tier consent. The project is then served under the defaults: EU-only under the eu-resident minimum tier while the EU default is on; every allowed model once the EU default has ended. The API records who removed the policy and retains the policy history. Succeeds without a change if no policy exists. Requires a signed-in project administrator. API keys are rejected regardless of their scopes, including project-scoped keys.

Response

Returns Acknowledgement!. Open the type for its fields and nested types.

FieldTypeDescription
okBoolean!Always true.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
mutation DeleteInferencePolicy($projectReference: String!) {
  deleteInferencePolicy(projectReference: $projectReference) {
    ok
  }
}
json
{
  "projectReference": "00000000-0000-4000-8000-000000000001"
}