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
- application/json
Path Parameters
-
appName: string
Specifies the name of your application. For example, "cloud".
-
redirectGroup: string
Specifies the redirect group name, for example, Default
The request body represents the partially updated redirects.
Root Schema : RedirectGroup
Type:
objectRepresents a Redirect Group configuration. Child Nodes represent Redirect Entry configuration confirming to RedirectEntry JSON schema
Show Source
-
ecr:createDate(optional):
string
-
ecr:lastModified(optional):
string
-
ecr:lastModifiedBy(optional):
string
-
ecr:type(optional):
string
Default Value:
redirect-group
Security
-
basicAuth: basic
Type:
basicDescription:Basic username/password authentication.
Response
Supported Media Types
- application/json
202 Response
Keyword Redirect Group successfully updated.
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",
}
}