Replace a workspace SSO configuration
curl --request PUT \
--url https://app.hookie.ai/admin/api/sso/{sso_config_id} \
--header 'Content-Type: application/json' \
--cookie hookie_session= \
--data '
{
"provider": "saml",
"enabled": false,
"idp_entity_id": "<string>",
"idp_sso_url": "<string>",
"idp_certificate": "<string>",
"acs_url": "<string>",
"allowed_domains": []
}
'const options = {
method: 'PUT',
headers: {cookie: 'hookie_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({
provider: 'saml',
enabled: false,
idp_entity_id: '<string>',
idp_sso_url: '<string>',
idp_certificate: '<string>',
acs_url: '<string>',
allowed_domains: []
})
};
fetch('https://app.hookie.ai/admin/api/sso/{sso_config_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/sso/{sso_config_id}"
payload = {
"provider": "saml",
"enabled": False,
"idp_entity_id": "<string>",
"idp_sso_url": "<string>",
"idp_certificate": "<string>",
"acs_url": "<string>",
"allowed_domains": []
}
headers = {
"cookie": "hookie_session=",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"ok": true
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}SSO
Replace a workspace SSO configuration
PUT
/
admin
/
api
/
sso
/
{sso_config_id}
Replace a workspace SSO configuration
curl --request PUT \
--url https://app.hookie.ai/admin/api/sso/{sso_config_id} \
--header 'Content-Type: application/json' \
--cookie hookie_session= \
--data '
{
"provider": "saml",
"enabled": false,
"idp_entity_id": "<string>",
"idp_sso_url": "<string>",
"idp_certificate": "<string>",
"acs_url": "<string>",
"allowed_domains": []
}
'const options = {
method: 'PUT',
headers: {cookie: 'hookie_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({
provider: 'saml',
enabled: false,
idp_entity_id: '<string>',
idp_sso_url: '<string>',
idp_certificate: '<string>',
acs_url: '<string>',
allowed_domains: []
})
};
fetch('https://app.hookie.ai/admin/api/sso/{sso_config_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/sso/{sso_config_id}"
payload = {
"provider": "saml",
"enabled": False,
"idp_entity_id": "<string>",
"idp_sso_url": "<string>",
"idp_certificate": "<string>",
"acs_url": "<string>",
"allowed_domains": []
}
headers = {
"cookie": "hookie_session=",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"ok": true
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}Authorizations
sessionbearerAuth
The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.
Path Parameters
Body
application/json
Identical to the create body and validated by the same validateSsoSpec — FULL REPLACE: an omitted field is written as its default (omitting idp_certificate nulls it, omitting enabled disables, omitting provider resets it to saml). PATCH is accepted on this path and behaves identically.
Response
Replaced.
Available options:
true