cURL
curl --request POST \ --url https://app.aegister.com/api/v1/organizations/{organizationid}/subscriptions/{licenseid} \ --header 'Content-Type: application/json' \ --header 'X-Aegister-Token: <api-key>' \ --data ' { "expires_at": "2023-11-07T05:31:56Z" } '
{ "error": 0, "messages": "<array>", "data": { "organization": 123, "license": 123 } }
Create Organization’s Subscription
License ID to subscribe to.
Organization ID.
Subscription expiration date (ISO format). Use '0000-00-00' for no expiration.
Any value different from 0 indicates an error. More details can be found in messages.
messages
0 <= x <= 0
0
If error is 1, contains zero or more details on the error.
error
1
[]
Show child attributes