Skip to main content
POST
/
xmetadata
/
set
Set xmetadata
curl --request POST \
  --url https://access.utgl.io/v1/xmetadata/set \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "target": {
    "type": "cardaccount",
    "id": "xxx"
  },
  "xid": "<string>",
  "xmetadata": "<unknown>"
}
'
{
  "target": {
    "type": "cardaccount",
    "id": "xxx"
  },
  "xid": "<string>",
  "xmetadata": "<unknown>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
target
object
required
xid
string

External identifier, unique across all resources created under this account.

xmetadata
any

Response

200 - application/json

OK

target
object
required
xid
string
required

External identifier, unique across all resources created under this account.

xmetadata
any
required