Update alias (v1)

Update alias for a specific card.

Overview

Update alias for a specific card.

POST (/internal/v1/cards/{token}:update-alias)

Parameters

  • token (path) (required): Internal unique identifier for the card. See CardToken model.

Request Body

Responses

204 No Content

Request was successfully executed, without further response being returned.

400 Bad Request

Bad Request Response

500 Internal Server Error

Internal server error response

Architecture

1 property

Update alias request body.

alias string
required

The card alias.

0 properties

Request was successfully executed, without further response being returned.

Schema does not contain any properties.

7 properties

Bad Request Response

code string
Allowed values: urn:plmr:cards:connector:CARD_NOT_FOUND urn:plmr:cards:connector:CARD_ALREADY_TERMINATED urn:plmr:cards:connector:INVALID_CLIENT_PUBLIC_KEY urn:plmr:cards:connector:INVALID_CARD_STATE urn:plmr:cards:connector:IN_APP_PROVISION_NOT_ALLOWED urn:plmr:cards:connector:INVALID_CERTIFICATE_CHAIN
message string
requestId string
fieldErrors array [object]
7 properties

Internal server error response

code string
Allowed values: urn:plmr:cards:connector:CARD_NOT_FOUND urn:plmr:cards:connector:CARD_ALREADY_TERMINATED urn:plmr:cards:connector:INVALID_CLIENT_PUBLIC_KEY urn:plmr:cards:connector:INVALID_CARD_STATE urn:plmr:cards:connector:IN_APP_PROVISION_NOT_ALLOWED urn:plmr:cards:connector:INVALID_CERTIFICATE_CHAIN
message string
requestId string
fieldErrors array [object]