Update a metadata policy
Path parameters
-
The federation id
-
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.
PUT
/references/federations/{FederationId}/metadata-policy/{MetadataPolicyId}
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"}'
Request examples
{
"Policy": "string",
"Status": "active",
"Type": "openid_relying_party"
}
Response examples (200)
# 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
}
Response examples (400)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errors": [
"string"
]
}
Response examples (404)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errors": [
"string"
]
}