CMS
English
cURL
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" }
Creates and configures a new URL redirect.
content
The access token received from the authorization server in the OAuth 2.0 flow.
successful operation
The response is of type object.
object
Was this page helpful?