# Create an API client secret

Endpoint: POST /apiclients/{apiClientID}/secrets
Version: 1.0.445.36017
Security: OAuth2

## Path parameters:

  - `apiClientID` (string, required)
    ID of the api client.

## Request fields (application/json):

  - `Name` (string, required)

  - `ID` (string)

  - `Expiration` (string)
    Example: "2018-01-01T00:00:00-06:00"

## Response 201 fields (application/json):

  - `ClientSecret` (string)

  - `ID` (string)

  - `Name` (string)

  - `Expiration` (string)
    Example: "2018-01-01T00:00:00-06:00"

## Response 4XX fields (application/json):

  - `StatusCode` (integer)
    Example: "404"

  - `ErrorCode` (string)
    Example: "NotFoundError"

  - `Message` (string)
    Example: "Object not found"

  - `Data` (object)
    Example: {"ObjectType":"","ObjectID":""}


