@akamai/openapi-ts
    Preparing search index...

    Type Alias PostPersonalAccessTokenData

    type PostPersonalAccessTokenData = {
        body: { expiry?: string | null; label?: string; scopes?: string };
        path?: never;
        query?: never;
        url: "profile/tokens";
    }
    Index

    Properties

    Properties

    body: { expiry?: string | null; label?: string; scopes?: string }

    Information about the requested token.

    Type Declaration

    • Optionalexpiry?: string | null

      When this token should be valid until. If omitted, the new token will be valid until it is manually revoked.

    • Optionallabel?: string

      Filterable This token's label. This is for display purposes only, but can be used to more easily track what you're using each token for.

    • Optionalscopes?: string

      The access scopes to grant to the created token. These cannot be changed after creation, and may not exceed the scopes of the acting token.

      If omitted or entered with a wildcard character (*), the new token will have the same scopes as the acting token.

      Multiple scopes are separated by a space character ( ).

      For example, linodes:read_write account:read_only.

    path?: never
    query?: never
    url: "profile/tokens"