Create a new metadata policy
POST/references/federations/:FederationId/metadata-policy
create a new metadata policy
Request
Path Parameters
Possible values: <= 36 characters
The federation id
- application/json
Body
required
Properties to create/update federation metadata policies
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
Possible values: Value must match regular expression ^[^<>]*$
The json of the metadata policy
Possible values: Value must match regular expression ^[^<>]*$
, [active
, assignable
, pending
, rejected
]
The status of the policy
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 500
- 502
- 504
Details of the federation metadata policy item
Response Headers
x-fapi-interaction-id
string
- application/json
- Schema
- Example (from schema)
Schema
Possible values: <= 36 characters
, Value must match regular expression ^[^<>]*$
The id of the metadata policy
Possible values: <= 36 characters
The ID of the federation
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
The version of the metadata policy
Possible values: Value must match regular expression ^[^<>]*$
The json of the metadata policy
Possible values: Value must match regular expression ^[^<>]*$
, [active
, assignable
, pending
, rejected
]
The status of the policy
{
"ReferenceID": "string",
"FederationID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"Type": "openid_relying_party",
"Version": 0,
"Policy": "string",
"Status": "active",
"CreatedAt": "2024-07-29T15:51:28.071Z"
}
Bad Request
Response Headers
x-fapi-interaction-id
string
- application/json
- Schema
- Example (from schema)
Schema
Validation Error messages
{
"errors": [
"string"
]
}
Unauthorized
Response Headers
x-fapi-interaction-id
string
Forbidden
Response Headers
x-fapi-interaction-id
string
Not found
Response Headers
x-fapi-interaction-id
string
- application/json
- Schema
- Example (from schema)
Schema
Validation Error messages
{
"errors": [
"string"
]
}
Conflict
Response Headers
x-fapi-interaction-id
string
Internal Server Error
Response Headers
x-fapi-interaction-id
string
Bad Gateway
Response Headers
x-fapi-interaction-id
string
Upstream timeout, insufficient capacity to serve request. More capacity being brought online. Please try again.
Response Headers
x-fapi-interaction-id
string