---
title: "Disable credentials"
method: PUT
path: "/apiKeys/{id}"
tags: ["Authorization"]
---

# Disable credentials

`PUT /apiKeys/{id}`

#		Disable authentication credentials from a user.
>* By disabling external credentials, the user will no longer be able to use them to generate an access token on the authentication endpoint. - ( https://dev.fitbank.com.br/reference/auth-3 ).
>>*	Ao desativar as credenciais externas, o usuário não poderá mais utilizar as mesmas para geração de token de acesso no endpoint de autenticação. - ( https://dev.fitbank.com.br/reference/auth-3 ).

## Path parameters

- `id` integer, required

## Response `201`

Created

- DomainApiKeyDisableExample
  - `client_id` string
  - `created_at` string
  - `id` integer
  - `status` string
  - `updated_at` string
  - `user_id` integer

## Other responses

- `400` — Validation error in the parameters | Erro de validação nos parâmetros
- `401` — Unauthorized | Não autorizado
- `403` — Forbidden | Proibido
- `500` — General errors, internal server error, etc... | Erros gerais, erro interno do servidor, etc...

---

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