SCIM Delete Request


SCIM Delete Request is a SCIM Resource Operation to Delete a SCIM Resource

SCIM Delete Request is performed using a URL endpoint similar to:

DELETE https://example.com/{v}/{resource}/{id}

SCIM Delete Request Example#

To delete a SCIM Resource, send an HTTP DELETE request to the resource's respective end point. In the example below we see the DELETE of a User.
DELETE /Users/2819c223-7f76-453a-919d-413861904646
Host: example.com
Authorization: Bearer h480djs93hd8
ETag: W/"c310cd84f0281b7"

DELETE Response#

SCIM Service Providers MAY choose not to permanently delete the SCIM Resource, but MUST return a HTTP 404 HTTP Status Code for all operations associated with the previously deleted Id. SCIM Service Providers MUST also omit the Resource from future query results.

The response to a DELETE:

HTTP/1.1 200 OK

Example where Consumer attempt to retrieve the previously deleted User

GET /Users/2819c223-7f76-453a-919d-413861904646
Host: example.com
Authorization: Bearer h480djs93hd8

Response for the previously deleted User

      "description":"Resource 2819c223-7f76-453a-919d-413861904646 not found",

More Information#

There might be more information for this subject on one of the following: