Skip to main content

deleteShortUrl

Requires permission marketing:link:write.

Deletes a short link of your organization. Needs the marketing link write permission.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation DeleteShortUrl($id: String!) {
deleteShortUrl(id: $id)
}

Variables:

{
"id": "string"
}

Response:

{
"data": {
"deleteShortUrl": true
}
}
deleteShortUrl(
id: String!
): Boolean!

Arguments​

deleteShortUrl.id ● String! non-null scalar​

The ID of the short link.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.