Skip to main content

Create account API token

POST 

/bv/account/v1/accounts/api-tokens

Generates an API token associated with the current user's account. When invoking an API using this token (with some exceptions detailed in the API documentation), the x-bv-org-id must be included in the header to specify the organization.

Notice: The endpoint /bv/account/v1/accounts/api-token will be deprecated soon. Please use /bv/account/v1/accounts/api-tokens instead.

Request

Body

required
    name stringrequired

    Required. The display name of api token.

    expired_date date-time

    Optional. The expired date of api token. Format: ISO8601 If the expiration date is empty, the API token will not expire.

Responses

A successful response.

Schema
    token string

    Output only.

    expired_date date-time

    Output only. The expired date of token.

    token_type Output only. The type of api token. (e.g. Basic,Bearer) Default: Bearer (string)
    id string

    Output only. The resource identifier of API token.

Loading...