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": "OSWeYhwr",
"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": "mlM@XaI8Z.com"
}'
201 Created
Response{
"acs_url": "https://UgxJfeG8K6yy.uIv2q.com/kCUUaD6/km",
"created_at": "2025-01-17T16:13:22.143Z",
"id": "6e97defb-2532-4902-9440-3c353282c982",
"idp_entity_id": "2WwplWAr",
"idp_metadata_document_string": "0fmAzJVaye5JNAYHzpyVk",
"org_id": "05ad94fd-665b-43dc-bbaa-e507aa8a7411",
"private_key": "BASE64_ENCODED_BYTE_STRING",
"public_cert": "BASE64_ENCODED_BYTE_STRING",
"slo_url": "https://4FiGr6Wuc.psbmRVIx.com/ExARzWkVek/2xSIE1ROHZX",
"technical_contact_email": "3uG3v@wigex1H.com",
"updated_at": "2025-01-17T16:13:22.144Z"
}