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": "m7y5db1V",
"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": "24YHBzT6@.com"
}'
201 Created
Response{
"acs_url": "https://FTuBw.sc.com/ODqKuVzs8Y/GncNs8TF",
"created_at": "2024-09-19T16:12:08.896Z",
"id": "6025b0eb-fd56-4210-802d-40c2b22abc90",
"idp_entity_id": "BuYpJNuYboDQPKBihzcm49t",
"idp_metadata_document_string": "",
"org_id": "3234de14-4049-441c-a3e7-7f8479e53fd4",
"private_key": "BASE64_ENCODED_BYTE_STRING",
"public_cert": "BASE64_ENCODED_BYTE_STRING",
"slo_url": "https://sXv.531Cse8.com/ZU9vtH/K8xu",
"technical_contact_email": "jMVh8wWH9@id8gZ.com",
"updated_at": "2024-09-19T16:12:08.896Z"
}