PUT /api/v1/delegations/status — Update Delegation Status
Updates the status of an existing delegation (e.g., activate, deactivate, suspend).
Authentication
SadqAuthorize
Request Headers
- Authorization (required)
- Bearer {token}
- Content-Type (required)
- application/json
Request Body
Content-Type: application/json
- id (GUID, required)
- The unique identifier of the delegation.
- status (integer, required)
- The new status for the delegation.
{
"id": "e96ed7d6-60e3-4faf-a7d5-5ba5f860bb1a",
"status": 1
}Responses
HTTP 200 — Delegation status updated
{
"data": true,
"errorCode": 0,
"message": null,
"returnUrl": "/dashboard",
"stateValidationErrors": null,
"signature": ""
}