curl --request PUT \
--url https://staging-api.getpartna.com/v4/user \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>' \
--data '{
"callbackUrl": "",
"endpointId": ""
}'
{
"message": "success"
}
Update user endpoint ID and callback URL.
curl --request PUT \
--url https://staging-api.getpartna.com/v4/user \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>' \
--data '{
"callbackUrl": "",
"endpointId": ""
}'
{
"message": "success"
}
put user ok
The response is of type object
.