---
title: "Changes to Create a project credential"
method: POST
path: "/v1/projects/{projectId}/credentials"
---

# Changes to Create a project credential

`POST /v1/projects/{projectId}/credentials`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 22 revisions.

- **2026-09-12** `f6cafe2fc826`: 1 info
- **2026-08-26** `c797842a21bd`: 4 info
- **2026-08-22** `bf198f94879a`: 7 breaking, 6 warning
- **2026-08-18** `e70a96a4b9bb`: 2 info

## Changes

- **2026-09-12** `f6cafe2fc826`: 1 info
  - api operation id `create-a-project-credential` removed and replaced with `projects_createAProjectCredential`
- **2026-08-26** `c797842a21bd`: 4 info
  - added the new optional request property `oneOf[subschema #1: ProjectsCreateAProjectCredentialRequest0]/description`
  - added the new optional request property `oneOf[subschema #2: ProjectsCreateAProjectCredentialRequest1]/description`
  - added the new optional request property `oneOf[subschema #3: ProjectsCreateAProjectCredentialRequest2]/description`
  - added the required property `credential/description` to the response with the `201` status
- **2026-08-22** `bf198f94879a`: 7 breaking, 6 warning
  - the `oneOf[subschema #1: ProjectsCreateAProjectCredentialRequest0]/label` request property's minLength was increased from `0` to `1`
  - the `oneOf[subschema #1: ProjectsCreateAProjectCredentialRequest0]/password` request property's minLength was increased from `0` to `1`
  - the `oneOf[subschema #1: ProjectsCreateAProjectCredentialRequest0]/totpSecret` request property's minLength was increased from `0` to `1`
  - the `oneOf[subschema #1: ProjectsCreateAProjectCredentialRequest0]/username` request property's minLength was increased from `0` to `1`
  - the `oneOf[subschema #2: ProjectsCreateAProjectCredentialRequest1]/authInstructions` request property's minLength was increased from `0` to `1`
  - the `oneOf[subschema #2: ProjectsCreateAProjectCredentialRequest1]/label` request property's minLength was increased from `0` to `1`
  - the `oneOf[subschema #3: ProjectsCreateAProjectCredentialRequest2]/label` request property's minLength was increased from `0` to `1`
  - the `oneOf[subschema #1: ProjectsCreateAProjectCredentialRequest0]/label` request property's maxLength was set to `50`
  - the `oneOf[subschema #1: ProjectsCreateAProjectCredentialRequest0]/totpSecret` request property's maxLength was set to `512`
  - the `oneOf[subschema #1: ProjectsCreateAProjectCredentialRequest0]/username` request property's maxLength was set to `255`
  - the `oneOf[subschema #2: ProjectsCreateAProjectCredentialRequest1]/authInstructions` request property's maxLength was set to `4000`
  - the `oneOf[subschema #2: ProjectsCreateAProjectCredentialRequest1]/label` request property's maxLength was set to `50`
  - the `oneOf[subschema #3: ProjectsCreateAProjectCredentialRequest2]/label` request property's maxLength was set to `50`
- **2026-08-18** `e70a96a4b9bb`: 2 info
  - added the new optional request property `oneOf[subschema #1: ProjectsCreateAProjectCredentialRequest0]/totpSecret`
  - added the required property `credential/hasTotpSecret` to the response with the `201` status

---

[Operation](https://skmtc.dev/tester/apis/testerarmy-api/docs/v1/projects/:projectId/credentials/post.md) - [API](https://skmtc.dev/tester/apis/testerarmy-api.md) - [Page](https://skmtc.dev/tester/apis/testerarmy-api/changes/v1/projects/:projectId/credentials/post)
