accounts
Set Active
Flips one account's active flag (ResourceAuth manage). The reversible counterpart to DELETE /accounts/{id}: setting active=false blocks the account without removing data, upstream identity, or history. Returns 403 forbidden if the caller would be escalating an admin account's access, the same fence bulkActivateAccounts/bulkDeactivateAccounts enforce per-target.
put/accounts/{id}/active
Request
- Base URL: https://api.instruxi.dev/api/v1/enforcer
- URL: https://api.instruxi.dev/api/v1/enforcer/accounts/{id}/active
- Auth: one of:
- API key in header Authorization
- API key in header X-API-Key
Path parameters
idstring required
id
Request body
Response
OK
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.