AdminGetTokensResponse GetAdminTokens(ctx, optional)
This provides information about all tokens.
Required Parameters
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| optional | *GetAdminTokensOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a GetAdminTokensOpts struct
| Name | Type | Description | Notes |
|---|
| xCorrelationId | optional.String | Correlation Id that can be passed, traced in the server and will be returned in the response if present in the request | |
| offset | optional.Int64 | the number of data to skip before getting the result set | |
| limit | optional.Int64 | the number of items to return. | [default to 10] |
| direction | optional.String | the sort order. ASC or DESC. | [default to DESC] |
| startCreatedTime | optional.Int64 | The unix timestamp | |
| endCreatedTime | optional.Int64 | The unix timestamp | |
| startExpireTime | optional.Int64 | The unix timestamp | |
| endExpireTime | optional.Int64 | The unix timestamp | |
| tokenID | optional.Interface of string | Filter by token IDs | |
| organizationIDs | optional.Interface of string | Filter by organization IDs | |
| hostID | optional.Interface of string | Filter by host IDs | |
| userID | optional.Interface of string | Filter by user IDs | |
| engineInstanceID | optional.Interface of string | Filter by engine instance IDs | |
| type_ | optional.Interface of TokenTypeEnum | Filter by token type | |
| orderBy | optional.String | It should be in [createdTime, expirationTime, tokenType] | |
| roleIDs | optional.Interface of string | Filters by role | |
| accessAllOrganization | optional.Bool | | |
Return type
AdminGetTokensResponse
Authorization
api_key
- Content-Type: Not defined
- Accept: application/json