APIPersonal data

Remove a visited country

DELETE
/api/v1/visited-countries

Authorization

bearerAuth visited_countries.write
AuthorizationBearer <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: visited_countries.write

Query Parameters

code*string
Length2 <= length <= 2

Response Body

application/json

application/json

curl -X DELETE "https://example.com/api/v1/visited-countries?code=st"
Empty