Authentication

This resource collection allows to authenticate to Veeam ONE REST API.

Request Authorization Tokens

Issues access and refresh JWT tokens.

SecurityBearer
Request
Request Body schema:
grant_type
required
string
Default: "password"
Enum: "refresh_token" "password"
username
string
password
string <password>
refresh_token
string
Responses
200

Success

400

Bad Request

post/api/token
Request samples
username=string&password=pa%24%24word&grant_type=refresh_token&refresh_token=string
Response samples
application/json
{
  • "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9LjthD9KEdtgfXIsBQWRnWOKmM19kCwgBP40K6TzHNpzqBhMEc3eyh9B0yqhrLgIhz4Xq0TYB4HHohOG2QoOrvk8yHQcoBxtWfmvDF347bQ1OVgE5_Ieh29cglNiT1mXQ5Z9S1a4KTwDkRhfS5tNMlVHLg0vUXQwZvFykKXIuck1cQFfZAHpJq9UhEySG9kx7Q-t09ZfDFFVf8IUT0OrNd9jJ2DQP9snvjNNXeHuHd3HE1Mer_bVg",
  • "refresh_token": "eyJhbGciOiJIUzI1Ni1BTcPnVzDIyOagiZNuEbPwbEBCe9u_m8l31biXWP1vOyh6_LdbKcDY6gzi6bUopTf02yV6ks4-hhEhhMsq4M6_hd3ZPZJmNLoHUEdDa8reXVBkHdsaLgr6NUGFArVeQ7cy1OdA",
  • "token_type": "Bearer",
  • "expires_in": 899,
  • "user": "onesrv\\administrator",
  • "user_role": "Admin"
}

Revoke Authorization Tokens

Revokes the specified access JWT token or performs logout operation for the specified user.

SecurityBearer
Request
Request Body schema:
token
string
UserSid
string
Responses
200

Success

400

Bad Request

post/api/revoke
Request samples
token=string&UserSid=string
Response samples
application/json
{
  • "type": "string",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "string",
  • "property1": null,
  • "property2": null
}

Document updated 9/08/2025

Page content applies to build 13.0.0.5630