Prevents an account from performing the specified capability.
Successful completion triggers this notification |
---|
Account blocked/unblocked |
For more information about event notifications, visit Webhooks.
Block account request
The request was successful
Invalid input
Unauthorized access.
Service unavailable or server error.
{- "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "block_capability": "login",
- "block_reason": "account_close",
- "note": "Example note"
}
{- "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "blocks": {
- "<block_capability>": {
- "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "block_id": "blk_2FizFe7kSxtgUf4Trw0Jwei7pJv",
- "capability": "login",
- "issuer": "publisher",
- "reason": "account_close"
}
}
}