curl --request PATCH \
--url https://api.mountthor.com/v1/admin/identity/providers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"allowed_clock_skew_seconds": 60,
"audiences": [
"api.mountthor.com"
],
"display_name": "<string>",
"status": "disabled"
}
'import requests
url = "https://api.mountthor.com/v1/admin/identity/providers/{id}"
payload = {
"allowed_clock_skew_seconds": 60,
"audiences": ["api.mountthor.com"],
"display_name": "<string>",
"status": "disabled"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
allowed_clock_skew_seconds: 60,
audiences: ['api.mountthor.com'],
display_name: '<string>',
status: 'disabled'
})
};
fetch('https://api.mountthor.com/v1/admin/identity/providers/{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://api.mountthor.com/v1/admin/identity/providers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'allowed_clock_skew_seconds' => 60,
'audiences' => [
'api.mountthor.com'
],
'display_name' => '<string>',
'status' => 'disabled'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mountthor.com/v1/admin/identity/providers/{id}"
payload := strings.NewReader("{\n \"allowed_clock_skew_seconds\": 60,\n \"audiences\": [\n \"api.mountthor.com\"\n ],\n \"display_name\": \"<string>\",\n \"status\": \"disabled\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.mountthor.com/v1/admin/identity/providers/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"allowed_clock_skew_seconds\": 60,\n \"audiences\": [\n \"api.mountthor.com\"\n ],\n \"display_name\": \"<string>\",\n \"status\": \"disabled\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountthor.com/v1/admin/identity/providers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"allowed_clock_skew_seconds\": 60,\n \"audiences\": [\n \"api.mountthor.com\"\n ],\n \"display_name\": \"<string>\",\n \"status\": \"disabled\"\n}"
response = http.request(request)
puts response.read_body{
"allowed_clock_skew_seconds": 60,
"audiences": [
"api.mountthor.com"
],
"created_at": "2026-05-25T17:20:00Z",
"display_name": "GitHub Actions OIDC",
"id": "<string>",
"issuer": "https://token.actions.githubusercontent.com",
"issuer_type": "oidc",
"jwks_source_type": "discovery",
"status": "active",
"updated_at": "2026-05-25T17:30:00Z",
"customer_id": "<string>",
"jwks_document_ref": "<string>",
"jwks_uri": "<string>"
}"<string>"Update IdP
Updates mutable IdP metadata: display name, accepted audiences, clock skew, and status. The issuer URL and JWKS source are immutable; register a new IdP to change those trust roots.
curl --request PATCH \
--url https://api.mountthor.com/v1/admin/identity/providers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"allowed_clock_skew_seconds": 60,
"audiences": [
"api.mountthor.com"
],
"display_name": "<string>",
"status": "disabled"
}
'import requests
url = "https://api.mountthor.com/v1/admin/identity/providers/{id}"
payload = {
"allowed_clock_skew_seconds": 60,
"audiences": ["api.mountthor.com"],
"display_name": "<string>",
"status": "disabled"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
allowed_clock_skew_seconds: 60,
audiences: ['api.mountthor.com'],
display_name: '<string>',
status: 'disabled'
})
};
fetch('https://api.mountthor.com/v1/admin/identity/providers/{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://api.mountthor.com/v1/admin/identity/providers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'allowed_clock_skew_seconds' => 60,
'audiences' => [
'api.mountthor.com'
],
'display_name' => '<string>',
'status' => 'disabled'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mountthor.com/v1/admin/identity/providers/{id}"
payload := strings.NewReader("{\n \"allowed_clock_skew_seconds\": 60,\n \"audiences\": [\n \"api.mountthor.com\"\n ],\n \"display_name\": \"<string>\",\n \"status\": \"disabled\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.mountthor.com/v1/admin/identity/providers/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"allowed_clock_skew_seconds\": 60,\n \"audiences\": [\n \"api.mountthor.com\"\n ],\n \"display_name\": \"<string>\",\n \"status\": \"disabled\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountthor.com/v1/admin/identity/providers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"allowed_clock_skew_seconds\": 60,\n \"audiences\": [\n \"api.mountthor.com\"\n ],\n \"display_name\": \"<string>\",\n \"status\": \"disabled\"\n}"
response = http.request(request)
puts response.read_body{
"allowed_clock_skew_seconds": 60,
"audiences": [
"api.mountthor.com"
],
"created_at": "2026-05-25T17:20:00Z",
"display_name": "GitHub Actions OIDC",
"id": "<string>",
"issuer": "https://token.actions.githubusercontent.com",
"issuer_type": "oidc",
"jwks_source_type": "discovery",
"status": "active",
"updated_at": "2026-05-25T17:30:00Z",
"customer_id": "<string>",
"jwks_document_ref": "<string>",
"jwks_uri": "<string>"
}"<string>"Authorizations
Bearer scheme name used by typed customer admin operations.
Path Parameters
IdP UUID
Body
Request body for PATCH /v1/admin/identity/providers/{id}.
The trust root (issuer URL + JWKS source) is intentionally immutable —
re-register to rotate it, so a silent change of which keys are trusted
cannot ride in on an update. Mutable: label, accepted audiences, clock
skew, and status (disable / re-enable).
Replacement clock skew allowance in seconds.
60
Replacement accepted token audiences.
["api.mountthor.com"]
New customer-facing label.
200New lifecycle state: active or disabled.
"disabled"
Response
IdP updated
Identity provider detail response.
Clock skew allowed when validating token time claims.
60
Accepted token audiences.
["api.mountthor.com"]
RFC 3339 creation timestamp.
"2026-05-25T17:20:00Z"
Customer-facing IdP label.
"GitHub Actions OIDC"
Stable IdP UUID.
Canonical OIDC issuer URL used to match the token iss claim.
"https://token.actions.githubusercontent.com"
IdP category. Currently oidc.
"oidc"
JWKS resolution mode: discovery, https, or stored-jwks.
"discovery"
IdP lifecycle state. Disabled IdPs cannot mint sessions.
"active"
RFC 3339 update timestamp.
"2026-05-25T17:30:00Z"
Stable UUID for the customer account.
Stored JWKS reference when jwks_source_type is stored-jwks.
Explicit JWKS URI when jwks_source_type is https.