Summary
- Added
kindproperty toApiTokenandCreateApiTokenRequestschemas, allowing specification of token type. - Introduced new permissions for various API endpoints related to API tokens and user roles.
- Modified query parameters for the
/organizations/{organizationId}/tokensendpoint, including changes to pagination and sorting criteria.
Added
-
Schemas
ApiTokenkind: Specifies the type of API token. Options areSTANDARDandDIRECT_ACCESS.
CreateApiTokenRequestkind: Specifies the type of API token, defaulting toSTANDARD.
-
Permissions
/organizations/{organizationId}/tokensGET,POST: Requiresorganization.apiTokens.access.
/organizations/{organizationId}/tokens/{tokenId}GET,POST,DELETE: Requiresorganization.apiTokens.access.
/organizations/{organizationId}/tokens/{tokenId}/rolesPOST: Requiresorganization.apiTokens.access.
/organizations/{organizationId}/tokens/{tokenId}/rotatePOST: Requiresorganization.apiTokens.access.
/organizations/{organizationId}/users/{userId}/rolesPOST: Requiresorganization.userRoles.access.
-
Query Parameters
/organizations/{organizationId}/tokenssorts: Sorting criteria for API tokens, with options likename:asc,createdAt:desc, etc.
Changed
-
Schemas
ApiTokenkindis now a required property.
-
Query Parameters
/organizations/{organizationId}/tokenskind: Replacedoffsetparameter. Now specifies the type of API token to list.offset: Previouslylimit, now specifies pagination offset.limit: Previouslysorts, now specifies pagination limit with a default of 20 and a maximum of 1000.
-
Parameter Descriptions
- Updated descriptions for
kind,offset, andlimitparameters to reflect their new purposes.
- Updated descriptions for