Skip to main content

Create a new metadata policy

POST 

/references/federations/:FederationId/metadata-policy

create a new metadata policy

Request

Path Parameters

    FederationId uuidrequired

    Possible values: <= 36 characters

    The federation id

Body

required

Properties to create/update federation metadata policies

    Type MetadataPolicyTypeEnum (string)required

    Possible values: Value must match regular expression ^[^<>]*$, [openid_relying_party, openid_provider, oauth_authorization_server, oauth_client, oauth_resource, federation_entity]

    The type of the metadata policy

    Policy MetadataPolicyJson (string)required

    Possible values: Value must match regular expression ^[^<>]*$

    The json of the metadata policy

    Status PolicyApprovalStatusEnum (string)required

    Possible values: Value must match regular expression ^[^<>]*$, [active, assignable, pending, rejected]

    The status of the policy

Responses

Details of the federation metadata policy item

Response Headers

  • x-fapi-interaction-id

    string

Schema

    ReferenceID MetadataPolicyId (string)

    Possible values: <= 36 characters, Value must match regular expression ^[^<>]*$

    The id of the metadata policy

    FederationID uuid

    Possible values: <= 36 characters

    The ID of the federation

    Type MetadataPolicyTypeEnum (string)

    Possible values: Value must match regular expression ^[^<>]*$, [openid_relying_party, openid_provider, oauth_authorization_server, oauth_client, oauth_resource, federation_entity]

    The type of the metadata policy

    Version MetadataPolicyVersion (integer)

    The version of the metadata policy

    Policy MetadataPolicyJson (string)

    Possible values: Value must match regular expression ^[^<>]*$

    The json of the metadata policy

    Status PolicyApprovalStatusEnum (string)

    Possible values: Value must match regular expression ^[^<>]*$, [active, assignable, pending, rejected]

    The status of the policy

    CreatedAt date-time
Loading...