Update a metadata policy
Path parameters
-
FederationId
string(uuid) Required The federation id
Maximum length is
36
. -
MetadataPolicyId
string Required The metadata policy id
Maximum length is
36
. Format should match the following pattern:^[^<>]*$
.
Body
Required
-
Policy
string Required The json of the metadata policy
Format should match the following pattern:
^[^<>]*$
. -
Status
string Required The status of the policy
Format should match the following pattern:
^[^<>]*$
. Values areactive
,assignable
,pending
, orrejected
. -
Type
string Required The type of the metadata policy
Format should match the following pattern:
^[^<>]*$
. Values areopenid_relying_party
,openid_provider
,oauth_authorization_server
,oauth_client
,oauth_resource
, orfederation_entity
.
Responses
-
200 application/json
Details of the federation metadata policy item
-
400 application/json
Bad Request
-
Unauthorized
-
Forbidden
-
404 application/json
Not found
-
Conflict
-
Internal Server Error
-
Bad Gateway
-
Upstream timeout, insufficient capacity to serve request. More capacity being brought online. Please try again.
curl \
--request PUT 'https://matls-api.sandbox.raidiam.io/references/federations/{FederationId}/metadata-policy/{MetadataPolicyId}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"Policy":"string","Status":"active","Type":"openid_relying_party"}'
{
"Policy": "string",
"Status": "active",
"Type": "openid_relying_party"
}
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"CreatedAt": "2025-05-04T09:42:00Z",
"FederationID": "string",
"Policy": "string",
"ReferenceID": "string",
"Status": "active",
"Type": "openid_relying_party",
"Version": 42
}
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errors": [
"string"
]
}
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errors": [
"string"
]
}