providers_saml_metadata_retrieve
GET/api/v3//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
property name* any
Validation Error
{
"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
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '/api/v3/providers/saml/:id/metadata/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'