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": "j",
"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": "@.com"
}'
201 Created
Response{
"acs_url": "https://MyAhARmsGf.v.com/BOOVrDWN/",
"created_at": "2024-09-20T22:41:25.953Z",
"id": "31888714-9eb0-4e0a-b1eb-f9ecadd5982e",
"idp_entity_id": "kTtyvSl",
"idp_metadata_document_string": "e",
"org_id": "69e6c5eb-bdf3-4cf3-99f3-89a351421305",
"private_key": "BASE64_ENCODED_BYTE_STRING",
"public_cert": "BASE64_ENCODED_BYTE_STRING",
"slo_url": "https://bx3VIb5..com/0B/",
"technical_contact_email": "or1HH@opD.com",
"updated_at": "2024-09-20T22:41:25.953Z"
}