Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.41 KB

File metadata and controls

32 lines (25 loc) · 1.41 KB

AccessTokenPost

Properties

Name Type Description Notes
name string A human-friendly name for the access token [optional] [default to undefined]
description string A description for the access token [optional] [default to undefined]
role string Base role for the token [optional] [default to undefined]
customRoleIds Array<string> A list of custom role IDs to use as access limits for the access token [optional] [default to undefined]
inlineRole Array<StatementPost> A JSON array of statements represented as JSON objects with three attributes: effect, resources, actions. May be used in place of a role. [optional] [default to undefined]
serviceToken boolean Whether the token is a service token [optional] [default to undefined]
defaultApiVersion number The default API version for this token [optional] [default to undefined]

Example

import { AccessTokenPost } from 'launchdarkly-api-typescript';

const instance: AccessTokenPost = {
    name,
    description,
    role,
    customRoleIds,
    inlineRole,
    serviceToken,
    defaultApiVersion,
};

[Back to Model list] [Back to API list] [Back to README]