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": "3YmJ4TSfXIgQzQ",
"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": "H5Eji3Z@.com"
}'
201 Created
Response{
"acs_url": "https://8ft4f4.J.com/9h8M3/UqMvhpu",
"created_at": "2024-12-19T17:49:18.087Z",
"id": "185d042f-2967-4541-af4a-b69985688103",
"idp_entity_id": "i5e",
"idp_metadata_document_string": "YaE2HD35kTuEacgMXcHG",
"org_id": "322f9030-bc79-41c6-b6c3-acbc89726a91",
"private_key": "BASE64_ENCODED_BYTE_STRING",
"public_cert": "BASE64_ENCODED_BYTE_STRING",
"slo_url": "https://PwQKOVOE.7fFyB789QP.com/s20Kg/hX0yz8T",
"technical_contact_email": "pO5@PMChfh.com",
"updated_at": "2024-12-19T17:49:18.087Z"
}