hornet icon

hornet

Interact with hornet API

Actions452

ATP Subscription → Atp Subscriptions Url Rewriting Post

AI-generated

Summary

Set URL rewriting settings for an ATP subscription by sending a POST request with specific configuration parameters.

Inputs

  • Object Id (required) — The ID of an object, which can be a user, customer, or partner, specified as a number and sent as a query parameter.
  • APP ID (required) — A unique string identifier specific to your app, sent as the 'APP-ID' HTTP header.
  • Active (required) — A boolean indicating whether ATP URL rewriting is active or not, included in the request body.
  • Enable Bypass On Timeout — An optional boolean controlling if timed-out requests bypass the warning screen and redirect users directly; included in the request body.
  • Request Options — Optional HTTP request settings including batching configuration, SSL certificate handling, proxy settings, and request timeout in milliseconds.

Output shape

a single response confirming the update of ATP URL rewriting settings

The operation sends a POST request and expects a JSON response with the updated configuration. Errors and HTTP status codes depend on the remote API behavior.

Examples

Example 1: Activate URL rewriting for a specific user

Specify object_id of the user, set APP-ID header, set Active to true, optionally set Enable Bypass On Timeout, and adjust request options as needed.

Links

Discussion