POST
/
cms
/
v3
/
url-redirects
/
Eine Weiterleitung erstellen
curl --request POST \
  --url https://api.hubapi.com/cms/v3/url-redirects/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "isTrailingSlashOptional": true,
  "isMatchQueryString": true,
  "redirectStyle": 123,
  "routePrefix": "<string>",
  "isMatchFullUrl": true,
  "isProtocolAgnostic": true,
  "destination": "<string>",
  "isOnlyAfterNotFound": true,
  "isPattern": true,
  "precedence": 123
}'
{
  "isTrailingSlashOptional": true,
  "redirectStyle": 123,
  "isMatchQueryString": true,
  "created": "2023-11-07T05:31:56Z",
  "isMatchFullUrl": true,
  "destination": "<string>",
  "isOnlyAfterNotFound": true,
  "isPattern": true,
  "precedence": 123,
  "routePrefix": "<string>",
  "isProtocolAgnostic": true,
  "id": "<string>",
  "updated": "2023-11-07T05:31:56Z"
}
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubProfessional
Sales HubSales HubKostenlos
Service HubService HubKostenlos
Content HubContent HubStarter

Erforderliche Bereiche

Diese API erfordert einen der folgenden Bereiche:
  • content

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Response

successful operation

The response is of type object.