TravelyfeHelp
SviluppatoriReferenceAccount

Claim A Username

PUT
/v1/account/username

Claims a handle: 3 to 20 lower-case letters, digits and underscores. A taken handle is refused.

Only available to the Travelyfe apps. Tokens issued to other apps receive forbidden.

AuthorizationBearer <token>

A Travelyfe access token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/account/username" \  -H "Content-Type: application/json" \  -d '{    "username": "string"  }'
"string"