# Create credential path

Endpoint: POST /credential-paths
Version: 5.1.51
Security: api_key

## Security:

  - `api_key` (unknown)
    apiKey in header Authorization

## Request body:

  - `application/json` (unknown)
    The credential path to create

## Request fields (application/json):

  - `credentialPathName` (string)
    The name of the credential path.

  - `description` (string)
    The description of the credential path.

  - `passwordVaultId` (integer)
    The ID of the password vault which contains this credential path.

  - `credentialParameters` (object)
    The parameters for this credential path.

## Response 201:

  - `201` (unknown)
    Success

## Response 201 fields (application/json):

  - `credentialPathId` (integer)
    The ID number of the credential path. This field is auto-generated by the Masking Engine.

  - `credentialPathName` (string)
    The name of the credential path.

  - `description` (string)
    The description of the credential path.

  - `passwordVaultId` (integer)
    The ID of the password vault which contains this credential path.

  - `credentialParameters` (object)
    The parameters for this credential path.

## Response 400:

  - `400` (unknown)
    Bad request

## Response 403:

  - `403` (unknown)
    Forbidden access

## Response 404:

  - `404` (unknown)
    Not found

## Response 409:

  - `409` (unknown)
    Conflict

