Skip to content

Delete Series

Nikolaos Papoutsis edited this page Oct 13, 2021 · 12 revisions

Removes a specific series from the user's Inbox

Relinquishes access to the specified series.

URL : /studies/{StudyInstanceUID}/series/{SeriesInstanceUID}

Method : DELETE

Auth Required : Requires an Access Token with the user as the sub claim.

Headers (Optional)

  • The following headers Admin-Action and Admin-Password can be used simultaneously, if the series is to be permanently deleted.
  • Admin-Action : permanent
  • Admin-Password : [PASSWORD] using the kheops_auth_admin_password secret

Success Response

If the bearer token has user as the sub.

  • Status : 204 No Content

Error Response

If StudyInstanceUID and/or SeriesInstanceUID are not a valid UID

  • Status : 400 Bad Request

If no authentication token is supplied: (Don't forget to return the WWW-authenticate header)

  • Status : 401 Unauthorized

If the bearer token does not have the user as the sub claim.

  • Status : 403 Forbidden

If the user have no access to any study/series with the given StudyInstanceUID/SeriesInstanceUID.

  • Status : 404 Not Found
Clone this wiki locally