PATCH
/
v1
/
user
/
subscription
Update current subscription
curl --request PATCH \
  --url https://api.projectdiscovery.io/v1/user/subscription \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "price_id": "<string>"
}'
{
  "message": "<string>",
  "invoice": "<string>",
  "status": "<string>"
}

Authorizations

X-API-Key
string
header
required

Headers

X-Team-Id
string

Body

application/json

Response

200
application/json

OK

The response is of type object.