CMS
English
cURL
curl --request PATCH \ --url https://api.hubapi.com/cms/v3/url-redirects/{urlRedirectId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "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" }'
{ "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" }
Actualiza la configuración de un redireccionamiento de URL existente.
content
The access token received from the authorization server in the OAuth 2.0 flow.
successful operation
The response is of type object.
object