POST
/
clients
/
{clientId}
/
activate
curl --request POST \
  --url https://spark.test.woodcore.co/api/v2/clients/{clientId}/activate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "activationDate": "1 Jan 2021"
}'
{}
This API can be used when _isActive:true is not passed in the request body of customer creation.
Clients can be created in a pending state but If the client is already active, this API will result in an error.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

clientId
string
required
Example:

"1"

Body

application/json

Response

200 - application/json
ddddd

The response is of type object.