revokeMspAdmin
DELETE https://{{host}}/api/v1/msps/:msp_id/admins/:admin_id
This removes all privileges this admin has against the MSP. This goes deep all the way to the sites
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-CSRFToken | string |
RESPONSES
status: OK
{"admin_id":"456b7016-a916-a4b1-78dd-72b947c152b7","first_name":"Joe","last_name":"Smith","privileges":[{"scope":"msp","role":"admin"},{"scope":"org","org_id":"2818e386-8dec-2562-9ede-5b8a0fbbdc71","role":"admin"},{"scope":"orggroup","orggroup_id":"507f1bab-13ba-73e2-f291-2bcb8d1362b0","role":"read"}]}