---
title: "Enable or disable CNA publication for the user bound to a credential"
method: PUT
path: "/cna_credential/{credential_id}"
tags: ["cna_credential"]
---

# Enable or disable CNA publication for the user bound to a credential

`PUT /cna_credential/{credential_id}`

Enable or disable CNA publication for the user bound to a credential. Only available to administrators.

## Headers

- `X-Fields` string, mask

## Request body

- object
  - `enabled` boolean

## Response `200`

Success.

- CNACredential
  - `id` integer — CNA credential id.
  - `login` string — Login of the user bound to this credential.
  - `cve_api_org` string — CVE Services API organization.
  - `cve_api_user` string — CVE Services API user.
  - `enabled` boolean — Whether CNA publication is allowed for the user bound to this credential.
  - `created_at` string, date-time — Creation time of the credential.
  - `updated_at` string, date-time — Last update time of the credential.

## Other responses

- `403` — Admin permission required.
- `404` — CNA credential not found.

---

[API](https://skmtc.net/vulnerability-lookup/apis/vulnerability-lookup-api.md) · [All operations](https://skmtc.net/vulnerability-lookup/apis/vulnerability-lookup-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vulnerability-lookup/vulnerability-lookup-api/versions/e6ef25beb687/schema)
