Authentication

Update an API token

put/auth/{userId}/token/{tokenId}

Request

  • Base URL: https://test.boost.space/api
  • URL: https://test.boost.space/api/auth/{userId}/token/{tokenId}
  • Auth: HTTP bearer

Path parameters

userIdinteger required

ID of user

tokenIdinteger required

ID of token

Request body

idinteger

Unique identifier - primary key

createdstring date-time

Creation timestamp

createdUserIdinteger

ID of user who created this record

userIdinteger

ID of the user this token authenticates on behalf of

tokenstring

Bearer token value used in the Authorization header

descriptionstring

Human-readable description of the token's purpose

priorityinteger

Default conflict-resolution priority across tokens; lower value takes precedence

boostIdstring

Globally unique boost.space identifier for this record (UUID-like)

allowedIpsstring[]

Whitelist of IPv4/IPv6 addresses or CIDR ranges; empty means unrestricted

mcpboolean

When true, this token is an MCP (Model Context Protocol) token for AI integrations

Example request

{
  "id": 42,
  "created": "2026-01-15T09:30:00Z",
  "createdUserId": 42,
  "userId": 42,
  "token": "string",
  "description": "string",
  "priority": 1,
  "boostId": "string",
  "permissions": [
    {
      "id": 42,
      "created": "string",
      "createdUserId": 42,
      "tokenId": 42,
      "module": "activities",
      "create": true,
      "read": true,
      "update": true,
      "delete": true,
      "boostId": "string"
    }
  ],
  "allowedIps": [
    "string"
  ],
  "mcp": true
}

Response

Record succesfully deleted

idinteger

Id of deleted record

Example response

{
  "remotes": [
    {
      "id": "1",
      "application": "string",
      "delete": true
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.