AdminSubscription

Admin Create User Subscription

post/api/subscription/admin/users/{id}/subscriptions

Request

  • Base URL
    https://api.unorouter.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization and API key in header New-Api-User
    • or API key in header New-Api-User and API key in cookie session

Path parameters

id, string required

User ID

Request body

AdminCreateUserSubscriptionRequest required

AdminCreateUserSubscriptionRequest schema

plan_id, integer required

Response

OK

ResponseDtoSubscriptionActionData required

Response_dto.SubscriptionActionData schema

data, SubscriptionActionData required
message, string required
success, boolean required

Changes

No recorded changes to this operation across all 111 revisions of this API.