Generate an auth device token pair for a device
GET/v1/organizations/:organizationId/projects/:projectId/platforms/android/users/:userId/devices/:deviceId/tokens
Generate an auth device token pair for a device
Request
Path Parameters
organizationId stringrequired
projectId stringrequired
userId stringrequired
deviceId stringrequired
Responses
- 200
- 400
Successfully generated auth device token pair.
- application/json
- Schema
- Example (from schema)
Schema
authToken stringrequired
The authentication token
refreshToken stringrequired
The refresh token
{
"authToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refreshToken": "abc123def456..."
}
Bad Request
Loading...