SCIM API
...
Jobylon SCIM API
Users
(Soft) Delete a user
code examples curl location globoff request delete 'https //example com/scim/v2/users/{urn}' \\ \ header 'accept application/json' \\ \ header 'content type application/json'package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url = "https //example com/scim/v2/users/{urn}" method = "delete" client = \&http client { } req, err = http newrequest(method, url, nil) if err != nil { fmt println(err) return } req header add("accept", "application/json") req header add("content type", "application/json") res, err = client do(req) if err != nil { fmt println(err) return } defer res body close() body, err = ioutil readall(res body) if err != nil { fmt println(err) return } fmt println(string(body)) }import requests import json url = "https //example com/scim/v2/users/{urn}" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("delete", url, headers=headers, data=payload) print(response text) var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var requestoptions = { method 'delete', headers myheaders, redirect 'follow' }; fetch("https //example com/scim/v2/users/{urn}", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));okhttpclient client = new okhttpclient() newbuilder() build(); mediatype mediatype = mediatype parse("application/json"); requestbody body = requestbody create(mediatype, ""); request request = new request builder() url("https //example com/scim/v2/users/{urn}") method("delete", body) addheader("accept", "application/json") addheader("content type", "application/json") build(); response response = client newcall(request) execute(); responses // no content