AdminAssign an orphan legacy wallet pass to an org

Assign an orphan legacy wallet pass to an org

curl -X POST "https://api.spkey.co/admin/wallet-passes/example_string/assign-org" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "orgId": "example_string",
  "walletType": "APPLE"
}'
{}
POST
/admin/wallet-passes/{keyUuid}/assign-org
POST
Base URLstring

Target server for requests. Edit to use your own host.

⚠️Authentication configuration error - security schemes not found
path
keyUuidstring
Required
Min length: 1 • Max length: 64
Content-Typestring
Required

The media type of the request body

Options: application/json
orgIdstring
Required
Min length: 1
walletTypestring
Required
Options: APPLE, GOOGLE
Request Preview
Response

Response will appear here after sending the request

Path Parameters

Body

application/json
walletTypestring
Required
Allowed values:APPLEGOOGLE

Responses

Assigned