Requests a plan change for the entitlement behind the caller's license session. Accepted with the caller's own license-session token. Every consumer plan change runs through this workflow: the entitlement's approval policy either auto-approves (the response says the plan is already active) or the request stays pending until a tenant admin — or an integration acting for the tenant, e.g. after a payment — approves it.
const url = 'https://example.com/api/v1/provision/consumer/me/plan-change-requests';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"sessionId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","requestedPlanName":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/provision/consumer/me/plan-change-requests \ --header 'Content-Type: application/json' \ --data '{ "sessionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "requestedPlanName": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”The caller’s session and the plan to change to.
Consumer request to change the plan of the entitlement behind one of their license sessions. Every consumer plan change runs through a server-side plan-change request; the entitlement’s approval policy decides whether it applies immediately (auto-approval) or awaits a decision.
object
The caller’s license session; the target entitlement is resolved from it.
The plan (within the entitlement’s assigned plan set) to change to.
Examplegenerated
{ "sessionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "requestedPlanName": "example"}Consumer request to change the plan of the entitlement behind one of their license sessions. Every consumer plan change runs through a server-side plan-change request; the entitlement’s approval policy decides whether it applies immediately (auto-approval) or awaits a decision.
object
The caller’s license session; the target entitlement is resolved from it.
The plan (within the entitlement’s assigned plan set) to change to.
Examplegenerated
{ "sessionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "requestedPlanName": "example"}Consumer request to change the plan of the entitlement behind one of their license sessions. Every consumer plan change runs through a server-side plan-change request; the entitlement’s approval policy decides whether it applies immediately (auto-approval) or awaits a decision.
object
The caller’s license session; the target entitlement is resolved from it.
The plan (within the entitlement’s assigned plan set) to change to.
Examplegenerated
{ "sessionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "requestedPlanName": "example"}Responses
Section titled “Responses”OK
A plan-change request and its decision state.
object
The requester’s notification email (their own address; empty for pure device activations).
Decision state of a consumer plan-change request.
True when the requested plan is active (the request was approved and applied).
A plan-change request and its decision state.
object
The requester’s notification email (their own address; empty for pure device activations).
Decision state of a consumer plan-change request.
True when the requested plan is active (the request was approved and applied).
Example
{ "status": "Pending"}A plan-change request and its decision state.
object
The requester’s notification email (their own address; empty for pure device activations).
Decision state of a consumer plan-change request.
True when the requested plan is active (the request was approved and applied).
Example
{ "status": "Pending"}Bad Request
object
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Unauthorized
object
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Forbidden
object
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Conflict
object
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}