Delete project favorite

deleteProjectFavorite(projectReference: ID!): Acknowledgement!

Requires project.read; API keys also need delete scope.

Arguments

ArgumentTypeRequiredDescription
projectReferenceID!YesProject UUID, slug or domain. An absent favorite is not_found; the project is unchanged.

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 DeleteProjectFavorite($projectReference: ID!) {
  deleteProjectFavorite(projectReference: $projectReference) {
    ok
  }
}
json
{
  "projectReference": "00000000-0000-4000-8000-000000000001"
}