Set metadata
Metadata
Set metadata
Create or update metadata for a given entity.
PUT
Set metadata
Set metadata creates or updates custom metadata for a given entity. This endpoint follows idempotent PUT semantics:Documentation Index
Fetch the complete documentation index at: https://developer.uphold.com/llms.txt
Use this file to discover all available pages before exploring further.
- Create: Returns
201 Createdif metadata doesn’t exist - Replace: Returns
200 OKif metadata already exists
ETag header representing the version of the metadata, which can be used with If-Match or If-None-Match headers for conditional requests to prevent concurrent update conflicts.
Authorizations
OAuth 2.0 authentication.
Headers
Ensures conditional update by matching the current metadata revision.
Pattern:
^(?:W\/)?"([A-Fa-f0-9]{64})"$Prevents upsert operation if there is an existing metadata revision.
Available options:
* Path Parameters
The type of entity whose metadata is being accessed.
Available options:
accounts, external-accounts, files, transactions, users The unique identifier of the entity whose metadata is being accessed.
Body
application/json
The body is of type object.
Response
Metadata replaced.