Organization
List Organizations
GET
/v1/organizations/list
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
Bearer <token>
QueryString
action=list
string
The action (will not be needed soon)
Response
{
"status": 200,
"data": {
"organizations": [
{
"org_id": "string",
"org_name": "string",
"role": "string",
"owner": "string",
"resources": number
}
]
}
}
Create Organization
POST
/v1/organizations/create
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
Bearer <token>
Query String
action=create
string
The action (will not be needed soon)
Response
{
"status": 200,
"response": {
"id": "string"
}
}
Update Organization
POST
/v1/organizations/update?action=update
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
Bearer <token>
Querystring
org_id
string
The Organization ID
action=update
number
The action (will not be needed soon)
Response
{
"status": 200
}
Remove Organization
POST
/v1/organizations/remove?action=remove
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
org_id
string
The Organization ID
Response
{
"status": 200
}
Last updated