Delete upload visibility

deleteUploadVisibility(input: UploadPathInput!): UploadAcknowledgement!

Requires project.uploads.admin; API keys also need delete scope.

Arguments

ArgumentTypeRequired
inputUploadPathInput!Yes

Input fields

input

UploadPathInput

FieldTypeRequiredDescription
projectReferenceString!YesProject UUID, slug or configured domain.
uploadPathString!YesProject-relative upload path or folder prefix. An existing folder also matches without its trailing slash.

Response

Returns UploadAcknowledgement!. 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 DeleteUploadVisibility($input: UploadPathInput!) {
  deleteUploadVisibility(input: $input) {
    ok
  }
}
json
{
  "input": {
    "projectReference": "00000000-0000-4000-8000-000000000001",
    "uploadPath": "example"
  }
}