api:auth:organizationreseller
Table of Contents
API : Set organization reseller
Introduction
This API is used to set which reseller the user currently belongs to in regards to security.
It is used by customers that has the ORGANIZATION feature to manage other resellers.
Request
| URL | https://api.telecomx.dk/auth/organizationreseller | |
|---|---|---|
| Method | POST | |
| Body | resellerId | Id of reseller the user should now appear to belong to. |
Query example
{
resellerId: '12345678901234567890ABCD'
}
Response
| JSON object | |||
|---|---|---|---|
| Property | Type | Description | Extended |
| success | Boolean | True on success | |
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | account | Account disabled |
| 403 | resellerId | Reseller ID is not assigned to your organization |
| 403 | access_denied | Access Denied |
| 500 | internal_error | Internal server error |
api/auth/organizationreseller.txt · Last modified: 2025/11/10 09:57 by Per Møller