Update a metadata policy
Path parameters
-
The federation id
Maximum length is
36
. -
The metadata policy id
Maximum length is
36
. Format should match the following pattern:^[^<>]*$
.
Body Required
-
The json of the metadata policy
Format should match the following pattern:
^[^<>]*$
. -
The status of the policy
Format should match the following pattern:
^[^<>]*$
. Values areactive
,assignable
,pending
, orrejected
. -
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 \
-X PUT https://matls-api.sandbox.raidiam.io/references/federations/{FederationId}/metadata-policy/{MetadataPolicyId} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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:00+00:00",
"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"
]
}