Skip to main content
POST
/
users
cURL
curl --request POST \
  --url https://api.example.com/users \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "<string>",
  "productId": "<string>"
}
'
{}

Body

application/json
userId
string
required

The ID of the user.

productId
string
required

The productId

Response

200 - application/json

The response is of type object.