!!! Overview
[{$pagename}] is a [SCIM Resource Operation] to Delete a [SCIM Resource][{$pagename}] is performed using a URL [endpoint] similar to:
{{{
DELETE https://example.com/{v}/{resource}/{id}
}}}
!! [{$pagename}] [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.
%%prettify
{{{
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:
%%prettify
{{{
HTTP/1.1 200 OK
}}} /%Example where Consumer attempt to retrieve the previously deleted User
%%prettify
{{{
GET /Users/2819c223-7f76-453a-919d-413861904646
Host: example.com
Authorization: Bearer h480djs93hd8
}}} /%
Response for the previously deleted User
%%prettify
{{{
HTTP/1.1 404 NOT FOUND
{
"Errors":[
{
"description":"Resource 2819c223-7f76-453a-919d-413861904646 not found",
"code":"404"
}
]
}
}}} /%
!! More Information
There might be more information for this subject on one of the following:
[{ReferringPagesPlugin before='*' after='\n' }]