# Change the status of a metadata object that is associated with an authorisation domain role **PUT /references/authorisationdomains/{AuthorisationDomainName}/authorisationdomainroles/{AuthorisationDomainRoleIdentifier}/metadata/{MetadataId}** ## Servers - Raidiam Directory Sandbox Environment: https://matls-api.sandbox.raidiam.io (Raidiam Directory Sandbox Environment) ## Authentication methods - O auth ## Parameters ### Headers - **x-fapi-auth-date** (string) The time when the PSU last logged in with the TPP. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Sun, 10 Sep 2017 19:43:31 UTC - **x-fapi-customer-ip-address** (string) The PSU's IP address if the PSU is currently logged in with the TPP. - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. - **x-customer-user-agent** (string) Indicates the user-agent that the PSU is using. ### Path parameters - **AuthorisationDomainName** (string) Authorisation Domain Name. Eg:PSD2 - **MetadataId** (string) The metadata id object - **AuthorisationDomainRoleIdentifier** (string(uuid)) Authorisation Domain Role Id, a UUID ### Body: application/json (object) - **ClaimName** (string) The metadata claim itself i.e. scope, grant_type... - **DataType** (string) What datatype the subject metadatas value is - **EntityType** (string) The entity type the metadata should be applied to - **PolicyOperator** (string) The policy operator for the metadata - **Value** (string) The value of a metadata claim - **Values** (array[string]) The values of the claim. Conflicts with Value ## Responses ### 200 Single metadata object #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. #### Body: application/json (object) - **ClaimName** (string) The metadata claim itself i.e. scope, grant_type... - **DataType** (string) What datatype the subject metadatas value is - **EntityType** (string) The entity type the metadata should be applied to - **PolicyOperator** (string) The policy operator for the metadata - **Value** (string) The value of a metadata claim - **Values** (array[string]) The values of the claim. Conflicts with Value - **DomainRoleName** (string) The authorisation domain role name - **MetadataId** (string) Unique Metadata Id ### 400 Bad Request #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. #### Body: application/json (object) - **errors** (array[string]) Validation Error messages ### 401 Unauthorized #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. ### 403 Forbidden #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. ### 404 Not found #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. #### Body: application/json (object) - **errors** (array[string]) Validation Error messages ### 406 Not Acceptable #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. ### 429 Too many requests, maximum capacity reached. Requests are now throttled. #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. ### 500 Internal Server Error #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. ### 502 Bad Gateway #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. ### 504 Upstream timeout, insufficient capacity to serve request. More capacity being brought online. Please try again. #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. [Powered by Bump.sh](https://bump.sh)