admin
dashboard

Assign Subscription To User

Changed on
post/v1/admin/management/users/{user_id}/subscription

Request

  • Base URL: https://api.kodik.ru (the document declares no server; this is the origin it was published from)
  • URL: https://api.kodik.ru/v1/admin/management/users/{user_id}/subscription
  • Auth: HTTP bearer

Path parameters

user_idinteger required

Request body

plan_namestring nullable
replace_existingboolean
preserve_creditsboolean

Keep an existing subscription's credit balance, purchased credits, usage and bonus eligibility. Authorizes an update without replace_existing. Billing still restarts as a 30-day monthly term. Has no effect when creating a subscription.

Response

Successful Response

unknown required

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property