Revoke Agent
POST
/agents/{agent}/revokeAuthorization
cookieAuth __Host-hms_session<token>
In: cookie
Path Parameters
agent*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/revoke" \ -H "Content-Type: application/json" \ -d '{}'{ "company_id": "string", "livemode": true, "status": "active", "enabled_classes": [ { "operation_class": "string", "currencies": [ "string" ], "credit_types": [ "string" ] } ], "limits": [ { "id": "string", "agent_id": "string", "operation_class": "string", "dimension": "action", "window": "day", "timezone": "string", "currency": "string", "credit_type": "string", "max_amount": 0, "max_count": 0, "second_approval_above": 0, "retired": true } ], "usage": [ { "limit_id": "string", "bucket_key": "string", "amount": 0, "count": 0 } ], "always_ask": [ "string" ], "over_limit_behavior": "refuse", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "agent", "name": "string", "created_at": "2019-08-24T14:15:22Z"}Withdraw one subscriber from a price migration POST
People only, subscriptions:change. From notice_pending, notice_delivered, scheduling, scheduled, releasing or retryable failed: withdrawn with reason merchant_revert — withdrawing while a schedule attempt is live (the release worker releases the schedule, never cancels it), otherwise withdrawn. Any other status, including applied, is 409 price_migration_item_not_revertible and the item is unchanged. No processor call is made.
Revoke Api Key POST
Next Page