Meta tags:
description= Developer documentation for products at Zendesk;
Headings (most frequently used words):
example, redirect, allowed, for, code, samples, response, help, center, rule, parameters, rules, on, this, page, search, pagination, api, federated, employee, services, templates, json, format, show, set, delete, body,
Text of the page (most frequently used words):
api (57), the (44), request (43), #redirect (40), com (38), http (36), guide (36), err (36), https (35), json (34), url (34), zendesk (33), response (33), content (32), page (30), api_token (28), redirect_rules (28), type (25), token (24), auth (24), uri (22), application (22), string (22), for (22), basic (20), base64 (20), your_account_subdomain (20), email_address (20), client (20), body (20), fmt (20), example (19), rule (19), redirect_from (18), import (17), articles (17), forbidden (16), net (16), authorization (16), headers (16), method (16), println (16), req (16), new (15), nil (15), status (14), true (14), help (14), return (13), get (13), 403 (12), your_api_token (12), your_email_address (12), require (12), requests (12), axios (12), res (12), redirect_to (12), redirect_status (12), post (12), rules (12), from (11), 301 (11), delete (10), 01gfybenpdgn1r6naa4wrdnvfr (10), center (10), article (10), urls (10), false (10), error (9), data (9), var (9), header (9), community (8), code (8), encoded_credentials (8), credentials (8), email (8), httpbasicauth (8), log (8), console (8), function (8), config (8), encoded (8), value (8), build (8), basicauth (8), addheader (8), urlbuilder (8), builder (8), usercredentials (8), java (8), httpurl (8), okhttpclient (8), add (8), subdomain (8), curl (8), support (8), redirect_rule (8), you (8), and (8), pagination (8), search (8), account (7), sort (7), filter (7), errors (6), use (6), path (6), allowed (6), 456 (6), 123 (6), set (6), 2022 (6), 13t12 (6), 000z (6), query (6), title (5), meta (5), null (5), start (5), stringify (5), then (5), parse (5), parameters (5), this (5), that (5), your (5), see (5), when (5), with (5), objects (5), access (4), resource (4), 204 (4), end (4), use_ssl (4), port (4), hostname (4), strict_encode64 (4), ruby (4), text (4), print (4), authentication (4), python (4), catch (4), nodejs (4), execute (4), newcall (4), getbytes (4), encodetostring (4), getencoder (4), util (4), newbuilder (4), okhttp (4), squareup (4), readall (4), close (4), defer (4), newrequest (4), main (4), func (4), samples (4), description (4), name (4), admins (4), payload (4), slug (4), updated_at (4), created_at (4), brand_id (4), 200 (4), cursor (4), must (4), redirecting (4), can (4), deleted (4), user (4), developer (3), required (3), specified (3), create (3), about (3), any (3), topics (3), posts (3), there (3), setting (3), 7654321 (3), 01gfxgbx7yz9aswtcvmastk8zs (3), 12345 (3), only (3), show (3), addqueryparameter (3), are (3), object (3), brand (3), following (3), format (3), other (3), patterns (3), custom (3), examples (3), knowledge (3), home (3), service (3), sections (3), section (3), categories (3), upgrading (3), templating (3), list (3), templates (3), external (3), blog (2), requestbody (2), strings (2), read (2), such (2), may (2), omit (2), has (2), 123456 (2), updates (2), properties (2), per (2), using (2), based (2), records (2), urlencode (2), result (2), prefix (2), indicates (2), order (2), values (2), group (2), results (2), was (2), begin (2), docs (2), created (2), note (2), vanity (2), host (2), mapped (2), non (2), reserved (2), previous (2), migrating (2), old (2), seo (2), 404 (2), types (2), topic (2), catalog (2), helpers (2), introduction (2), badge (2), subscriptions (2), comments (2), zendev_horizontal (2), system, terms, privacy, notice, 181, fremont, street, 17th, floor, san, francisco, california, 94105, slack, forum, join, our, deletes, loads, mediatype, newreader, more, structure, allows, regardless, some, have, appended, them, specify, installation, setup, already, creates, default, returns, shows, information, has_more, y3vyc29yig9uzq, before_cursor, y3vyc29yihr3bw, after_cursor, encode_www_form, params, redirect_from_prefix, options, sorting, field, direction, desc, asc, used, filtering, lists, matching, given, criteria, last, updated, mdn, 302, 303, 307, 308, redirections, automatically, assigned, which, applies, mandatory, represented, limit, 000, videos, offers, contact, reasons, under, short, pages, pattern, active, hosted, hubspot, not, found, admin, solutions, 1234, 2023, product, keeping, same, corresponding, maintain, uses, crawlers, 45678912, 200550545, 12345678, prevent, purposes, available, all, plans, except, lite, legacy, plan, lets, manage, redirects, means, archived, similarly, etc, take, effect, three, primary, cases, each, their, own, profile, approval, contributions, category, footer, advanced, items, employee, services, sources, federated, claims, jwts, tags, media, images, assignments, badges, votes, segments, themes, translations, management, permission, groups, sessions, labels, attachments, reference, documentation,
Text of the page (random words):
assigned when the redirect rule is created redirect_from string false true the path to redirect from must begin with omit any slug from the path redirect_status string false true the http status to use when redirecting see redirections in http in the mdn docs allowed values are 301 302 303 307 or 308 redirect_to string false true the url or path to redirect to must begin with https http or updated_at string false true when the redirect rule was last updated example brand_id 12345 created_at 2022 10 13t12 00 00 000z id 01gfxgbx7yz9aswtcvmastk8zs redirect_from hc en us articles 7654321 redirect_status 301 redirect_to https help example com account setting up your account updated_at 2022 10 13t12 00 00 000z search redirect rules get api v2 guide redirect_rules lists redirect rules matching the given criteria allowed for guide admins pagination cursor pagination only see using cursor based pagination parameters name type in required description filter object query false a group of query parameters for filtering search results page object query false a group of query parameters used for pagination see pagination sort string query false options for sorting the result set by field and direction the prefix indicates desc order no prefix indicates asc order allowed values are id id redirect_from or redirect_from code samples curl curl https subdomain zendesk com api v2 guide redirect_rules get data urlencode filter redirect_from_prefix hc en us data urlencode sort redirect_from v u email_address token api_token go import fmt io net http func main url https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules filter page sort method get req err http newrequest method url nil if err nil fmt println err return req header add content type application json req header add authorization basic auth value base64 encoded email_address token api_token client http client res err client do req if err nil fmt println err return defer res body close body err io readall res body if err nil fmt println err return fmt println string body java import com squareup okhttp okhttpclient client new okhttpclient httpurl builder urlbuilder httpurl parse https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules newbuilder addqueryparameter filter addqueryparameter page addqueryparameter sort string usercredentials your_email_address token your_api_token string basicauth basic java util base64 getencoder encodetostring usercredentials getbytes request request new request builder url urlbuilder build method get null addheader content type application json addheader authorization basicauth build response response client newcall request execute nodejs var axios require axios var config method get url https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules headers content type application json authorization basic auth value base64 encoded email_address token api_token params filter page sort axios config then function response console log json stringify response data catch function error console log error python import requests from requests auth import httpbasicauth url https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules filter page sort headers content type application json email_address your_email_address api_token your_api_token use basic authentication auth httpbasicauth f email_address token api_token response requests request get url auth auth headers headers print response text ruby require net http require base64 uri uri https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules uri query uri encode_www_form filter page sort request net http get new uri content type application json email your_email_address api_token your_api_token credentials email token api_token encoded_credentials base64 strict_encode64 credentials request authorization basic encoded_credentials response net http start uri hostname uri port use_ssl true do http http request request end example response s 200 ok status 200 ok meta after_cursor y3vyc29yihr3bw before_cursor y3vyc29yig9uzq has_more true records brand_id 12345 created_at 2022 10 13t12 00 00 000z id 01gfxgbx7yz9aswtcvmastk8zs redirect_from hc en us articles 7654321 redirect_status 301 redirect_to https help example com account setting up your account updated_at 2022 10 13t12 00 00 000z 403 forbidden status 403 forbidden errors code forbidden meta status 403 title access to the resource is forbidden show redirect rule get api v2 guide redirect_rules id shows information about the specified redirect rule allowed for guide admins pagination cursor pagination only see using cursor based pagination by default returns 30 redirect rules per page parameters name type in required description id string path true the redirect rule id code samples curl curl https subdomain zendesk com api v2 guide redirect_rules id v u email_address token api_token go import fmt io net http func main url https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules 01gfybenpdgn1r6naa4wrdnvfr method get req err http newrequest method url nil if err nil fmt println err return req header add content type application json req header add authorization basic auth value base64 encoded email_address token api_token client http client res err client do req if err nil fmt println err return defer res body close body err io readall res body if err nil fmt println err return fmt println string body java import com squareup okhttp okhttpclient client new okhttpclient httpurl builder urlbuilder httpurl parse https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules 01gfybenpdgn1r6naa4wrdnvfr newbuilder string usercredentials your_email_address token your_api_token string basicauth basic java util base64 getencoder encodetostring usercredentials getbytes request request new request builder url urlbuilder build method get null addheader content type application json addheader authorization basicauth build response response client newcall request execute nodejs var axios require axios var config method get url https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules 01gfybenpdgn1r6naa4wrdnvfr headers content type application json authorization basic auth value base64 encoded email_address token api_token axios config then function response console log json stringify response data catch function error console log error python import requests from requests auth import httpbasicauth url https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules 01gfybenpdgn1r6naa4wrdnvfr headers content type application json email_address your_email_address api_token your_api_token use basic authentication auth httpbasicauth f email_address token api_token response requests request get url auth auth headers headers print response text ruby require net http require base64 uri uri https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules 01gfybenpdgn1r6naa4wrdnvfr request net http get new uri content type application json email your_email_address api_token your_api_token credentials email token api_token encoded_credentials base64 strict_encode64 credentials request authorization basic encoded_credentials response net http start uri hostname uri port use_ssl true do http http request request end example response s 200 ok status 200 ok redirect_rule brand_id 12345 created_at 2022 10 13t12 00 00 000z id 01gfxgbx7yz9aswtcvmastk8zs redirect_from hc en us articles 7654321 redirect_status 301 redirect_to https help example com account setting up your account updated_at 2022 10 13t12 00 00 000z 403 forbidden status 403 forbidden errors code forbidden meta status 403 title access to the resource is forbidden set a redirect rule post api v2 guide redirect_rules creates or updates a redirect rule for the url specified in redirect_from if there s already a redirect rule for the redirect_from url the request updates the redirect_to and redirect_status properties some help center urls such as for articles topics and posts may have a slug appended to them omit the slug from the url in redirect_from for example if the article has a url of hc en us articles 123456 installation and setup then specify redirect_from hc en us articles 123456 this allows you to redirect any request for that article regardless of the slug read more about the help center url structure in zendesk help allowed for guide admins example body redirect_rule redirect_from hc en us articles 123 redirect_status 301 redirect_to https support example com hc en us 456 code samples curl curl https subdomain zendesk com api v2 guide redirect_rules x post d redirect_rule redirect_from hc en us articles 9 redirect_to https example com redirect_status 301 h content type application json v u email_address token api_token go import fmt io net http strings func main url https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules method post payload strings newreader redirect_rule redirect_from hc en us articles 123 redirect_status 301 redirect_to https support example com hc en us 456 req err http newrequest method url payload if err nil fmt println err return req header add content type application json req header add authorization basic auth value base64 encoded email_address token api_token client http client res err client do req if err nil fmt println err return defer res body close body err io readall res body if err nil fmt println err return fmt println string body java import com squareup okhttp okhttpclient client new okhttpclient httpurl builder urlbuilder httpurl parse https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules newbuilder requestbody body requestbody create mediatype parse application json redirect_rule redirect_from hc en us articles 123 redirect_status 301 redirect_to https support example com hc en us 456 string usercredentials your_email_address token your_api_token string basicauth basic java util base64 getencoder encodetostring usercredentials getbytes request request new request builder url urlbuilder build method post body addheader content type application json addheader authorization basicauth build response response client newcall request execute nodejs var axios require axios var data json stringify redirect_rule redirect_from hc en us articles 123 redirect_status 301 redirect_to https support example com hc en us 456 var config method post url https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules headers content type application json authorization basic auth value base64 encoded email_address token api_token data data axios config then function response console log json stringify response data catch function error console log error python import requests import json from requests auth import httpbasicauth url https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules payload json loads redirect_rule redirect_from hc en us articles 123 redirect_status 301 redirect_to https support example com hc en us 456 headers content type application json email_address your_email_address api_token your_api_token use basic authentication auth httpbasicauth f email_address token api_token response requests request post url auth auth headers headers json payload print response text ruby require net http require base64 uri uri https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules request net http post new uri content type application json request body q redirect_rule redirect_from hc en us articles 123 redirect_status 301 redirect_to https support example com hc en us 456 email your_email_address api_token your_api_token credentials email token api_token encoded_credentials base64 strict_encode64 credentials request authorization basic encoded_credentials response net http start uri hostname uri port use_ssl true do http http request request end example response s 204 no content status 204 no content null 403 forbidden status 403 forbidden errors code forbidden meta status 403 title access to the resource is forbidden delete redirect rule delete api v2 guide redirect_rules id deletes the specified redirect rule allowed for guide admins parameters name type in required description id string path true the redirect rule id code samples curl curl https subdomain zendesk com api v2 guide redirect_rules id x delete v u email_address token api_token go import fmt io net http func main url https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules 01gfybenpdgn1r6naa4wrdnvfr method delete req err http newrequest method url nil if err nil fmt println err return req header add content type application json req header add authorization basic auth value base64 encoded email_address token api_token client http client res err client do req if err nil fmt println err return defer res body close body err io readall res body if err nil fmt println err return fmt println string body java import com squareup okhttp okhttpclient client new okhttpclient httpurl builder urlbuilder httpurl parse https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules 01gfybenpdgn1r6naa4wrdnvfr newbuilder string usercredentials your_email_address token your_api_token string basicauth basic java util base64 getencoder encodetostring usercredentials getbytes request request new request builder url urlbuilder build method delete null addheader content type application json addheader authorization basicauth build response response client newcall request execute nodejs var axios require axios var config method delete url https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules 01gfybenpdgn1r6naa4wrdnvfr headers content type application json authorization basic auth value base64 encoded email_address token api_token axios config then function response console log json stringify response data catch function error console log error python import requests from requests auth import httpbasicauth url https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules 01gfybenpdgn1r6naa4wrdnvfr headers content type application json email_address your_email_address api_token your_api_token use basic authentication auth httpbasicauth f email_address token api_token response requests request delete url auth auth headers headers print response text ruby require net http require base64 uri uri https your_account_subdomain zendesk com api v2 api v2 guide redirect_rules 01gfybenpdgn1r6naa4wrdnvfr request net http delete new uri content type application json email your_email_address api_token your_api_token credentials email token api_token encoded_credentials base64 strict_encode64 credentials request authorization basic encoded_credentials response net http start uri hostname uri port use_ssl true do http http request request end example response s 204 no content status 204 no content null 403 forbidden status 403 forbidden errors code f...
|