SSO
Create the SSO connection
Creates the organization OIDC SSO connection in draft status.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/sso/connection" \ -H "Content-Type: application/json" \ -d '{ "provider": "okta", "issuer": "http://example.com" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "oidc", "provider": "okta", "issuer": "http://example.com", "clientId": "string", "samlMetadataUrl": "http://example.com", "samlGroupsAttribute": "string", "defaultRole": "admin", "status": "draft", "enforced": true, "roleMapping": { "claim": "string", "rules": [ { "value": "string", "role": "admin", "projectIds": [ "string" ] } ], "onNoMatch": "default" }, "lastSeenClaims": [ { "name": "string", "values": [ "string" ] } ], "lastTest": { "at": null, "outcome": "success", "reason": "string", "warning": "string", "grants": [ { "projectId": "string", "role": "admin" } ] }, "secretReadable": true}