Salesforce

GetAdminTokens

« Go Back
Information
GetAdminTokens
000005250
Public
Product Selection
aiWare - aiWare
Article Details
AdminGetTokensResponse GetAdminTokens(ctx, optional)

This provides information about all tokens.

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
optional*GetAdminTokensOptsoptional parametersnil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetAdminTokensOpts struct

NameTypeDescriptionNotes
xCorrelationIdoptional.StringCorrelation Id that can be passed, traced in the server and will be returned in the response if present in the request
offsetoptional.Int64the number of data to skip before getting the result set
limitoptional.Int64the number of items to return.[default to 10]
directionoptional.Stringthe sort order. ASC or DESC.[default to DESC]
startCreatedTimeoptional.Int64The unix timestamp
endCreatedTimeoptional.Int64The unix timestamp
startExpireTimeoptional.Int64The unix timestamp
endExpireTimeoptional.Int64The unix timestamp
tokenIDoptional.Interface of stringFilter by token IDs
organizationIDsoptional.Interface of stringFilter by organization IDs
hostIDoptional.Interface of stringFilter by host IDs
userIDoptional.Interface of stringFilter by user IDs
engineInstanceIDoptional.Interface of stringFilter by engine instance IDs
type_optional.Interface of TokenTypeEnumFilter by token type
orderByoptional.StringIt should be in [createdTime, expirationTime, tokenType]
roleIDsoptional.Interface of stringFilters by role
accessAllOrganizationoptional.Bool

Return type

AdminGetTokensResponse

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json
Additional Technical Documentation Information
Properties
6/4/2024 10:05 PM
6/4/2024 10:23 PM
6/4/2024 10:23 PM
Documentation
Documentation
000005250
Translation Information
English

Powered by