Skip to main content
Mutation

deleteLocation

Deletes a shooting location. It can be restored with restoreLocation. Requires edit access to the space.

Arguments

  • idID!

    ID of the location to delete.

  • spaceIdID!

    ID of the space.

Returns

MutationSuccess!

Example

mutation DeleteLocation($id: ID!, $spaceId: ID!) {
  deleteLocation(id: $id, spaceId: $spaceId) {
    success
  }
}