Enable Subscriptions
Declare that your device management service supports subscription management.
URL
POST https://vpp.itunes.apple.com/mdm/v2/subscriptions/enableResponse Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | SubscriptionManagementResponse | |
| 401 | Unauthorized Content-Type: application/json | ErrorResponse | The provided token is invalid. It may either be missing or expired. |
| 500 | Internal Server Error Content-Type: application/json | ErrorResponse | An internal server error occurred. Try again later. |
Discussion
Send a POST request to declare that your device management service supports subscription management. Until you enable subscription management for a token, content managers can’t purchase subscriptions into the organizational unit that the token represents.
This request takes no body. The server processes it synchronously and returns the resulting subscriptionManagement state.
Example Request and Response
To declare that an organizational unit doesn’t support subscriptions, use Disable Subscriptions.