POST
/
helpcenter-redirect
curl --request POST \
  --url https://api.gleap.io/v3/helpcenter-redirect \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'project: <project>' \
  --data '{
  "oldUrl": "<string>",
  "newUrl": "<string>"
}'
{
  "updatedAt": "<string>",
  "createdAt": "<string>",
  "newUrl": "<string>",
  "oldUrl": "<string>",
  "project": {
    "isValid": {},
    "createFromHexString": {},
    "createFromTime": {},
    "generate": {},
    "cacheHexString": "<any>",
    "prototype": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Body

application/json
oldUrl
string
required
newUrl
string
required

Response

200 - application/json
Ok
updatedAt
string
required
createdAt
string
required
newUrl
string
oldUrl
string
project
object