providers_saml_import_metadata_create
POST/api/v3//providers/saml/import_metadata/
Create provider from SAML Metadata
Request
- multipart/form-data
Body
required
name stringrequired
Possible values: non-empty
authorization_flow uuidrequired
file binaryrequired
Responses
- 204
- 400
- 403
Successfully imported provider
Bad request
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST '/api/v3/providers/saml/import_metadata/' \
-H 'Content-Type: multipart/form-data' \
-H 'Authorization: Bearer <TOKEN>'