CreateAgentTokenRequest for creating Agent Tokens with properties such as name, description, and tokenExpiryPeriodInDays.Schemas
CreateAgentTokenRequest
name (string): The name of the Agent token. Required.description (string): The description for the Agent token.tokenExpiryPeriodInDays (integer): The expiry period of the Agent token in days. Defaults to never expire if not specified. Range: 1 to 3650.Endpoints
GET /organizations/{organizationId}/deployments/{deploymentId}/agent-tokens
organizationId (path, string): The ID of the Organization.deploymentId (path, string): The ID of the Deployment.offset (query, integer): Number of results to skip. Default: 0.limit (query, integer): Maximum number of results to return. Default: 20, Max: 1000.sorts (query, array of strings): Fields to sort by. For example, name:asc.200, 400, 401, 403, 404, 500.POST /organizations/{organizationId}/deployments/{deploymentId}/agent-tokens
organizationId (path, string): The ID of the Organization.deploymentId (path, string): The ID of the Deployment.CreateAgentTokenRequest200, 400, 401, 403, 404, 500.GET /organizations/{organizationId}/deployments/{deploymentId}/agent-tokens/{agentTokenId}
organizationId (path, string): The ID of the Organization.deploymentId (path, string): The ID of the Deployment.agentTokenId (path, string): The ID of the Agent token.200, 400, 401, 403, 404, 500.DELETE /organizations/{organizationId}/deployments/{deploymentId}/agent-tokens/{agentTokenId}
organizationId (path, string): The ID of the Organization.deploymentId (path, string): The ID of the Deployment.agentTokenId (path, string): The ID of the Agent token.204, 400, 401, 403, 404, 500.