Delete team SSO configuration REST API
DELETE
/api/user/teams/{id}/sso
const url = 'http://127.0.0.1:25737/api/user/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sso';const options = {method: 'DELETE', headers: {cookie: 'hk_token=<hk_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 http://127.0.0.1:25737/api/user/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sso \ --cookie hk_token=<hk_token>Deletes the team SSO configuration and its allowed domains. Existing HitKeep sessions and team roles are unchanged.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”SSO configuration deleted
Team settings permission or SSO entitlement required
Media typeapplication/json
object
message
string
Examplegenerated
{ "message": "example"}SSO configuration not found
Media typeapplication/json
object
message
string
Examplegenerated
{ "message": "example"}