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": "O",
"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": "IdCDtmBYXu@M.com"
}'
201 Created
Response{
"acs_url": "https://aS5PQ.U.com/apbJ/dD1",
"created_at": "2025-01-09T18:26:16.029Z",
"id": "07f1b883-fb82-4a76-a35c-9d55c02ad7ef",
"idp_entity_id": "jN0aHeagwYu0Q4lVv",
"idp_metadata_document_string": "NUAb",
"org_id": "2ea9f189-2a1c-4ac4-9fc4-f2db1cdb1d26",
"private_key": "BASE64_ENCODED_BYTE_STRING",
"public_cert": "BASE64_ENCODED_BYTE_STRING",
"slo_url": "https://D1UlkdXx1.KpRJr3zBXm7d.com/L4F/PCjzxTMr",
"technical_contact_email": "kGLGqqTD5e@B7b.com",
"updated_at": "2025-01-09T18:26:16.029Z"
}