APIPersonal data
Update personal preferences
Authorization
bearerAuth preferences.writeAuthorizationBearer <token>
Send Authorization: Bearer <credential>. Create API keys in AirTrail Security settings. OAuth clients use authorization code with PKCE S256 and a resource identifier matching /api/v1.
In: header
Scope: preferences.write
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/api/v1/preferences" \ -H "Content-Type: application/json" \ -d '{}'{ "data": {}}