providers_saml_metadata_retrieve
GET/providers/saml/:id/metadata/
Return metadata as XML string
Request
Path Parameters
id integerrequired
A unique integer value identifying this SAML Provider.
Query Parameters
download boolean
force_binding string
Possible values: [urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST
, urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect
]
Optionally force the metadata to only include one binding.
Responses
- 200
- 400
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
metadata stringrequired
download_url stringrequired
{
"metadata": "string",
"download_url": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Provider has no application assigned
Loading...