Partial update Keyword Redirect Group.

patch

/gsadmin/v1/{appName}/redirects/{redirectGroup}

Partial update keyword redirect group configuration of the specified application's redirects.

Request

Supported Media Types
Path Parameters
Body ()
The request body represents the partially updated redirects.
Root Schema : RedirectGroup
Type: object
Represents a Redirect Group configuration. Child Nodes represent Redirect Entry configuration confirming to RedirectEntry JSON schema
Show Source
Security
Back to Top

Response

Supported Media Types

202 Response

Keyword Redirect Group successfully updated.
Body ()
Root Schema : Response
Type: object
Show Source
Back to Top

Examples

A PATCH endpoint cannot access an object through its parent object. Thus, you cannot use this endpoint to modify the redirect-entry objects contained in the redirect-group object. The following request generates an error:

PATCH /gsadmin/v1/cloud/redirects/Default

Request Body Example

{
  "ecr:type": "redirect-group",
  "id1": {
    "ecr:type": "redirect-entry",
    "url": "/browse/Canon/_/N-1z162xy",
    },
  "id2": {
    "ecr:type": "redirect-entry",
    "searchTerms": "contact",
    }
}
Back to Top