Skip to content

Update Touch Pass

PUT
/api/v1/developer/credentials/touch_passes/{id}

Available since v3.2.20

Authorizations

bearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

id*
Type
string
Required
Example"550e8400-e29b-41d4-a716-446655440000"

Request Body

application/json
JSON
{
  
"card_name": "My Touch Pass",
  
"status": "ACTIVE",
  
"bundles": [
  
  
{
  
  
  
"bundle_id": "string",
  
  
  
"bundle_status": "string"
  
  
}
  
]
}

Responses

Successful response

application/json
JSON
{
  
"code": "string",
  
"msg": "string",
  
"data": {
  
  
"id": "string",
  
  
"card_id": "string",
  
  
"card_name": "string",
  
  
"status": "string",
  
  
"last_activity": "string",
  
  
"user_id": "string",
  
  
"user_name": "string",
  
  
"user_email": "string",
  
  
"user_avatar": "string",
  
  
"user_status": "string",
  
  
"activated_at": {
  
  
},
  
  
"expired_at": {
  
  
},
  
  
"bundles": [
  
  
  
{
  
  
  
  
"bundle_id": "string",
  
  
  
  
"bundle_status": "string",
  
  
  
  
"device_id": "string",
  
  
  
  
"device_name": "string",
  
  
  
  
"device_type": 0,
  
  
  
  
"source": "string"
  
  
  
}
  
  
]
  
}
}

Playground

Server
Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI