Révoquer un jeton SCIM de provisionnement
curl --request DELETE \
--url https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodySupprimer le jeton SCIM de provisionnement IdP
Révoquez un jeton SCIM précisé par l’ID du jeton pour la configuration de provisionnement d’un fournisseur d’identité précisé par son ID pour cette organisation.
DELETE
/
identity-providers
/
{idp_id}
/
provisioning
/
scim-tokens
/
{idp_scim_token_id}
Révoquer un jeton SCIM de provisionnement
curl --request DELETE \
--url https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}/my-org/v1/identity-providers/{idp_id}/provisioning/scim-tokens/{idp_scim_token_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyAutorisations
OAuth2ClientCredentialsOAuth2AuthCode
The access token received from the authorization server in the OAuth 2.0 flow.
Paramètres de chemin
Identifiant du fournisseur d’identité.
Pattern:
^con_[A-Za-z0-9]{16}$Identifiant du jeton de provisionnement SCIM du fournisseur d’identité.
Pattern:
^tok_[A-Za-z0-9]{16}$Réponse
Le jeton SCIM de provisionnement a été supprimé avec succès.
⌘I