Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

AddIDPToLoginPolicy

POST
/management/v1/policies/login/idps

Request Body

application/json
  1. body
idpId?idp_id
ownerType?ownerType

the owner of the identity provider.

Value in"IDP_OWNER_TYPE_UNSPECIFIED""IDP_OWNER_TYPE_SYSTEM""IDP_OWNER_TYPE_ORG"

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X POST 'https://example.com/management/v1/policies/login/idps' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?