---
title: "Update Code Scanning Access Token"
method: POST
path: "/access-tokens/code-scanning"
---

# Update Code Scanning Access Token

`POST /access-tokens/code-scanning`

Update the access token used for code scanning.

## Request body

- object
  - `access_token` string, required — The access token used for code scanning

## Response `200`

The code scanning access token has been updated

- object
  - `success` boolean — Whether the code scanning access token has been updated

## Other responses

- `400` — The request is invalid
- `403` — The provided access token does not have the necessary permissions

---

[API](https://skmtc.net/aikido/apis/authorization.md) · [All operations](https://skmtc.net/aikido/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aikido/authorization/revisions/5445e7c21137/schema)
