-
Notifications
You must be signed in to change notification settings - Fork 11
Downgrade an admin to User
gerome12 edited this page Feb 20, 2019
·
8 revisions
Used to downdrade an admin to user to an album. For downgrade an admin, the calling user must be an admin. If the calling user and the user are the same, it's an auto-downgrade. For removing an user from an album, use : Remove an User
URL : /albums/{album_id}/users{user}/admin
Method : DELETE
Auth Required : Authorization with a JWT Bearer token with the user as the sub claim.
The user must be an admin of the {album}
.
Headers
-
Accept
: If present, require that this value beapplication/json
Success Response
-
Status :
204 No Content
Error Response
If the calling user is not an admin.
-
Status :
403 Forbidden
If the user is not found.
If the album id does not exist.
If the user is not a member of the album.
-
Status :
404 Not Found
- Authentication API
- Study List
- Studies/Series Favorites
- Working with the Inbox
- DICOMweb Capability Tokens
- Webhooks
-
Working with Albums
- Album List
- Get an Album
- Create an album
- Edit an album
- Delete an album
- Add a study
- Add a series
- Remove a study
- Remove a series
- Add a User
- Remove a User
- Get the list of Users
- Add and upgrade an user to Admin
- Downgrade an admin to User
- Add an album to favorites
- Remove an album from favorites
- Post a comment
- Get a list of events (comments and mutations)
- Others
- Report Providers