Skip to main content
POST
/
api
/
auth
/
clients
/
{clientId}
/
secrets
Add a secret to a client
curl --request POST \
  --url http://localhost/api/auth/clients/{clientId}/secrets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "metadata": {}
}
'
{
  "data": {
    "name": "<string>",
    "id": "<string>",
    "lastDigits": "<string>",
    "clear": "<string>",
    "metadata": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.formance.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

clientId
string
required

Client ID

Body

application/json
name
string
required
metadata
object

Response

200 - application/json

Created secret

data
object