Application_Users

Create an application token

Changed on

Creates a token for an application user.

post/organization/{organization_id}/application-users/{user_id}/access-tokens

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/organization/{organization_id}/application-users/{user_id}/access-tokens
  • Auth
    HTTP bearer and OAuth 2
    Authorization code: https://console.aiven.io/oauth/authorize
    Token URL: https://api.aiven.io/v1/oauth2/token scopes: accounts:write, authentication:write

Path parameters

organization_idstring required

ID of an organization

user_idstring required

User ID

Request body

descriptionstring required

Description

extend_when_usedboolean

Extend token expiration time when token is used. Only applicable if max_age_seconds is specified.

ip_allowliststring[]

List of allowed IP ranges

max_age_secondsinteger

Time the token remains valid since creation (or since last use if extend_when_used is true)

scopesstring[]

Scopes this token is restricted to if specified

Response

Response

full_tokenstring required

Full Token

token_prefixstring required

Token Prefix

Changes