younifyd
Menu

Admin GraphQL: Delete URL Redirect

Delete one or more URL redirects in BigCommerce via Admin GraphQL — the mutation is editable, so you decide exactly what comes back

Use it in a workflow

  1. Add a step and choose the BigCommerce Admin GraphQL connector.
  2. Pick the Admin GraphQL: Delete URL Redirect action (under bigcommerce).
  3. Fill in the fields below, then reference the result from later steps as {{adminGraphqlDeleteUrlRedirect.response.data}}.

Fields

querystring

Editable GraphQL mutation sent to the Admin API.

Default "mutation BCDeleteRedirects($input: DeleteRedirectsInput!) {\n redirects {\n deleteRedirects(input: $input) {\n deletedRedirectEntityIds\n errors { message }\n }\n }\n}"

variablesstring

JSON object of mutation variables — set input.siteId and input.entityIds.

Default "{\n \"input\": { \"siteId\": 1, \"entityIds\": [1, 2, 3] }\n}"

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded to BigCommerce. Headers below override forwarded ones.

Default false

headerskeyvalue

HTTP headers to include in the request to BigCommerce

Need more? See the BigCommerce Admin GraphQL guide for connection setup and behaviour shared by every action.

Admin GraphQL: Delete URL Redirect — BigCommerce Admin GraphQL — Documentation