Prisma

Create identity provider

Create an external OIDC or Azure AD identity provider.

POST
/api/v1/admin/sso/idps

Authorization

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X post "https://prisma.your-company.com/api/v1/admin/sso/idps" \  -H "Content-Type: application/json" \  -d '{    "type": "oidc",    "name": "string",    "client_id": "string",    "client_secret": "string"  }'
{
  "id": "string",
  "name": "string",
  "type": "string",
  "issuer": "string",
  "is_active": true,
  "client_id": "string",
  "scopes": [
    "string"
  ],
  "use_pkce": true,
  "is_id_token_mapping": true,
  "provider_options": {
    "is_linking_allowed": true,
    "is_creation_allowed": false,
    "is_auto_update": true
  },
  "azure_tenant": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}