Skip to main content
POST
/
cards
/
update-email
Update card email address
curl --request POST \
  --url https://access.utgl.io/v1/cards/update-email \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cardAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "[email protected]"
}
'
{
  "cardAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "[email protected]"
}

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
cardAccountId
string<uuid>
required

Card account ID of the card

cardId
string<uuid>
required

Card ID of the card

email
string
required

The new email address of the card

Response

200 - application/json

OK

cardAccountId
string<uuid>

Card account ID of the card

cardId
string<uuid>

Card ID of the card

email
string

The new email address of the card