StackRox · Capability
API Reference — APITokenService
API Reference — APITokenService. 4 operations. Lead operation: GetAPITokens returns all the API tokens.. Self-contained Naftiko capability covering one Stackrox business surface.
What You Can Do
GET
Getapitokens
— GetAPITokens returns all the API tokens.
/v1/v1/apitokens
POST
Generatetoken
— GenerateToken generates API token for a given user and role.
/v1/v1/apitokens/generate
PATCH
Revoketoken
— RevokeToken removes the API token for a given id.
/v1/v1/apitokens/revoke/{id}
GET
Getapitoken
— GetAPIToken returns API token metadata for a given id.
/v1/v1/apitokens/{id}
MCP Tools
getapitokens-returns-all-api-tokens
GetAPITokens returns all the API tokens.
read-only
idempotent
generatetoken-generates-api-token-given
GenerateToken generates API token for a given user and role.
revoketoken-removes-api-token-given
RevokeToken removes the API token for a given id.
idempotent
getapitoken-returns-api-token-metadata
GetAPIToken returns API token metadata for a given id.
read-only
idempotent