Found this content helpful? Log in or sign up to leave a like!

DELETE /api/v1/accounts/:account_id/admins?role_id=XXXX doesn't appear to be working

hayesb
Community Member

When I do a DELETE request against the /api/v1/accounts/:account_id/admins?role_id=XXXX REST API and pass the correct account_id and role_id, the API returns an Admin JSON as its supposed to, and the workflow_status shows deleted in the JSON, but in the Canvas user interface if I go to that account and check the admin's, the account is still there and has not been removed from the role. Additionally, if I then do a list for all admin's in the account, the person is still listed with the role and a status of active.

Anyone else having issues with the admin remove REST API?

0 Likes