Deprovision a user
const url = 'https://beta-api.plune.ai/scim/v2/Users/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://beta-api.plune.ai/scim/v2/Users/example \ --header 'Authorization: Bearer <token>'What active: false does, then the link goes: the id is a 404 for every operation after and the user is in no search (RFC 7644 §3.6). The account stays; a new POST of the address makes a new link. 300 a minute a company. A company without Enterprise in active or grace is refused 403 enterprise_required; it loses nothing and nobody is switched off.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The SCIM id Plune gave the user.
Responses
Section titled “ Responses ”Deleted
The company owner (mutability)
RFC 7644 §3.12. Never repeats the request, its token or a value it carried.
object
Plune’s word, on the 403 of a company without Enterprise.
Example
{ "schemas": [ "urn:ietf:params:scim:api:messages:2.0:Error" ], "status": "409", "scimType": "invalidFilter", "code": "enterprise_required"}No SCIM token
RFC 7644 §3.12. Never repeats the request, its token or a value it carried.
object
Plune’s word, on the 403 of a company without Enterprise.
Example
{ "schemas": [ "urn:ietf:params:scim:api:messages:2.0:Error" ], "status": "409", "scimType": "invalidFilter", "code": "enterprise_required"}No Enterprise
RFC 7644 §3.12. Never repeats the request, its token or a value it carried.
object
Plune’s word, on the 403 of a company without Enterprise.
Example
{ "schemas": [ "urn:ietf:params:scim:api:messages:2.0:Error" ], "status": "409", "scimType": "invalidFilter", "code": "enterprise_required"}No such user
RFC 7644 §3.12. Never repeats the request, its token or a value it carried.
object
Plune’s word, on the 403 of a company without Enterprise.
Example
{ "schemas": [ "urn:ietf:params:scim:api:messages:2.0:Error" ], "status": "409", "scimType": "invalidFilter", "code": "enterprise_required"}Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.
object
Example generated
{ "error": "example"}Headers
Section titled “Headers ”Seconds until the window rolls over