APIUsersUpdate a subscription for a user
hidden

Parameters

Name

Type

Req.

  • id

    string
    required
  • bodyapplication/json

    object
    optional
    Object Properties

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
put
/users/{id}/payment/subscriptions
$ curl -X PUT "https://api.zoo.dev/users/{id}/payment/subscriptions" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "modeling_app": "pro",
  "pay_annually": true
}'
200 OK
Response
{
  "modeling_app": {
    "annual_discount": 27,
    "description": "lF33jmsrjHsB9fNwjApPDqTI",
    "endpoints_included": [
      "file"
    ],
    "features": [
      {
        "info": "UyyTOTcFNR6V4uQIa2HZYLedgeADChJxW3HK7ogDy7CRyGbltX2LSjynXncCJ8AWLbog"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 10,
    "monthly_pay_as_you_go_api_credits_monetary_value": "4.38",
    "name": "enterprise",
    "pay_as_you_go_api_credit_price": "38.73",
    "price": {
      "type": "enterprise"
    },
    "share_links": [
      "public"
    ],
    "support_tier": "priority_email",
    "training_data_behavior": "default_on",
    "type": {
      "saml_sso": true,
      "type": "organization"
    },
    "zoo_tools_included": [
      "text_to_cad"
    ]
  }
}