Admin Grant Subscription

post/api/admin/users/{user_id}/subscription-grants

Request

  • Base URL: https://api.animgen.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.animgen.com/api/admin/users/{user_id}/subscription-grants
  • Auth: none declared

Path parameters

user_idstring uuid required

Request body

requestIdstring uuid required
planCode'basic' | 'expert' | 'ultra' required
durationDaysinteger required
grantCreditsboolean
reasonstring required
notestring nullable

Response

Successful Response

idstring uuid required
userIdstring uuid required
planCode'basic' | 'expert' | 'ultra' required
status'active' | 'expired' | 'revoked' required
startsAtstring required
expiresAtstring required
durationDaysinteger required
grantCreditsboolean required
creditsGrantedinteger required
creditLotIdstring uuid nullable
grantedByEmailstring required
reasonstring required
notestring nullable
revokedAtstring nullable
revokedByEmailstring nullable
revokeReasonstring nullable
createdAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.