API → Orgs → Create a SAML identity provider
Parameters
Name
Type
Req.
bodyapplication/json
objectoptionalObject Properties
idp_metadata_source
oneOfoptionalsigning_keypair
objectoptionalObject Properties
Returns
- 201 Created
successful creation
Name
Type
Req.
body
objectoptionalObject Properties
post
/org/saml/idp$ curl -X POST "https://api.zoo.dev/org/saml/idp" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"idp_entity_id": "YqRoonAEPzy",
"idp_metadata_source": {
"data": "BASE64_ENCODED_BYTE_STRING",
"type": "base64_encoded_xml"
},
"signing_keypair": {
"private_key": "BASE64_ENCODED_BYTE_STRING",
"public_cert": "BASE64_ENCODED_BYTE_STRING"
},
"technical_contact_email": "E4X2T@V7R7qO7Rk.com"
}'
201 Created
Response{
"acs_url": "https://lNBWpLV.CZQPFKviR.com/vztMyGYfEtwL/eKaoFsf02rs",
"created_at": "2024-05-07T19:31:01.618Z",
"id": "3611515c-317b-4b52-9699-23d47d054252",
"idp_entity_id": "",
"idp_metadata_document_string": "mCSGXWzcC",
"org_id": "14d311f3-5786-4020-a68c-3304937309ab",
"private_key": "BASE64_ENCODED_BYTE_STRING",
"public_cert": "BASE64_ENCODED_BYTE_STRING",
"slo_url": "https://BQ.zpNXl5aLi.com/Cy3Urv/frdiotnw",
"technical_contact_email": "KG5xm@A79SNEc.com",
"updated_at": "2024-05-07T19:31:01.618Z"
}