curl --request PUT \
--url https://api.ctrl-hub.com/v3/sso-providers/{sso_provider_id} \
--header 'Content-Type: application/vnd.api+json' \
--header 'X-Session-Token: <api-key>' \
--data '
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"name": "<string>",
"type": "oidc",
"metadata": "<string>",
"enforce": true
},
"relationships": {
"default_role": {
"data": {
"type": "<string>",
"id": "<string>"
}
}
}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"type": "oidc",
"name": "<string>",
"metadata": "<string>",
"enforce": true
},
"meta": {
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
"jsonapi": {
"version": "<string>"
}
}Update an existing SSO provider
curl --request PUT \
--url https://api.ctrl-hub.com/v3/sso-providers/{sso_provider_id} \
--header 'Content-Type: application/vnd.api+json' \
--header 'X-Session-Token: <api-key>' \
--data '
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"name": "<string>",
"type": "oidc",
"metadata": "<string>",
"enforce": true
},
"relationships": {
"default_role": {
"data": {
"type": "<string>",
"id": "<string>"
}
}
}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"type": "oidc",
"name": "<string>",
"metadata": "<string>",
"enforce": true
},
"meta": {
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
"jsonapi": {
"version": "<string>"
}
}Session token for authentication.
The unique identifier for the SSO provider.
The SSO provider to update.
Show child attributes