Rollbar · Capability

Rollbar REST API — Access Tokens

Rollbar REST API — Access Tokens. 3 operations. Lead operation: Update a Project Access Token. Self-contained Naftiko capability covering one Rollbar business surface.

Run with Naftiko RollbarAccess Tokens

What You Can Do

PATCH
Updateprojectaccesstoken — Update a Project Access Token
/v1/project/{projectid}/access-token/{accesstokenid}
GET
Listprojectaccesstokens — List All Project Access Tokens
/v1/project/{projectid}/access-tokens
POST
Createprojectaccesstoken — Create a Project Access Token
/v1/project/{projectid}/access-tokens

MCP Tools

update-project-access-token

Update a Project Access Token

idempotent
list-all-project-access-tokens

List All Project Access Tokens

read-only idempotent
create-project-access-token

Create a Project Access Token

Capability Spec

rest-access-tokens.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Rollbar REST API — Access Tokens
  description: 'Rollbar REST API — Access Tokens. 3 operations. Lead operation: Update a Project Access Token. Self-contained
    Naftiko capability covering one Rollbar business surface.'
  tags:
  - Rollbar
  - Access Tokens
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ROLLBAR_API_KEY: ROLLBAR_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-access-tokens
    baseUri: https://api.rollbar.com/api/1
    description: Rollbar REST API — Access Tokens business capability. Self-contained, no shared references.
    resources:
    - name: project-projectId-access_token-accessTokenId
      path: /project/{projectId}/access_token/{accessTokenId}
      operations:
      - name: updateprojectaccesstoken
        method: PATCH
        description: Update a Project Access Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accessTokenId
          in: path
          type: string
          description: The ID of the access token to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: project-projectId-access_tokens
      path: /project/{projectId}/access_tokens
      operations:
      - name: listprojectaccesstokens
        method: GET
        description: List All Project Access Tokens
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createprojectaccesstoken
        method: POST
        description: Create a Project Access Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-Rollbar-Access-Token
      value: '{{env.ROLLBAR_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: rest-access-tokens-rest
    port: 8080
    description: REST adapter for Rollbar REST API — Access Tokens. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/project/{projectid}/access-token/{accesstokenid}
      name: project-projectid-access-token-accesstokenid
      description: REST surface for project-projectId-access_token-accessTokenId.
      operations:
      - method: PATCH
        name: updateprojectaccesstoken
        description: Update a Project Access Token
        call: rest-access-tokens.updateprojectaccesstoken
        with:
          accessTokenId: rest.accessTokenId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/project/{projectid}/access-tokens
      name: project-projectid-access-tokens
      description: REST surface for project-projectId-access_tokens.
      operations:
      - method: GET
        name: listprojectaccesstokens
        description: List All Project Access Tokens
        call: rest-access-tokens.listprojectaccesstokens
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createprojectaccesstoken
        description: Create a Project Access Token
        call: rest-access-tokens.createprojectaccesstoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-access-tokens-mcp
    port: 9090
    transport: http
    description: MCP adapter for Rollbar REST API — Access Tokens. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: update-project-access-token
      description: Update a Project Access Token
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: rest-access-tokens.updateprojectaccesstoken
      with:
        accessTokenId: tools.accessTokenId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-all-project-access-tokens
      description: List All Project Access Tokens
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-access-tokens.listprojectaccesstokens
      outputParameters:
      - type: object
        mapping: $.
    - name: create-project-access-token
      description: Create a Project Access Token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-access-tokens.createprojectaccesstoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.