users
List Machine Tokens
Lists all machine tokens for the authenticated user.
get/v0/users/{user_id}/machine-tokens
Request
- Base URLhttps://api.pantheon.io
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring required
User ID
Response
Example response
{
"tokens": [
{
"device_name": "Pantheon Mac 2023-01-09",
"id": "dcr_aALXf3Rho1EmPj7A"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.