Team Management
Retrieves the list of team members for a specific application
ID of the application to retrieve team for
Team retrieved successfully
Authentication error
Team not found or plan limitation
GET /v2/app/{appID}/team HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"team": [
{
"modID": "197651928518230016",
"perms": [
"start_app",
"stop_app",
"restart_app",
"logs_app",
"commit_app",
"edit_ram",
"backup_app",
"status_app"
]
}
]
}
Adds a new team member to an application with specified permissions
ID of the application to add a team member to
The unique identifier of the user to add as a team member
Team member added successfully
Authentication error
Not found errors
Conflict error
POST /v2/app/{appID}/team HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 138
{
"modID": "197651928518230016",
"perms": [
"start_app",
"stop_app",
"restart_app",
"logs_app",
"commit_app",
"edit_ram",
"backup_app",
"status_app"
]
}
{
"status": "ok",
"app": {
"modID": "197651928518230016",
"appID": "1745287471226",
"perms": [
"start_app",
"stop_app",
"restart_app",
"logs_app",
"commit_app",
"edit_ram",
"backup_app",
"status_app"
]
}
}
Updates permissions for an existing team member of an application
ID of the application to update team member in
The unique identifier of the user to add as a team member
Team member permissions updated successfully
Authentication error
Not found errors
PUT /v2/app/{appID}/team HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 138
{
"modID": "197651928518230016",
"perms": [
"start_app",
"stop_app",
"restart_app",
"logs_app",
"commit_app",
"edit_ram",
"backup_app",
"status_app"
]
}
{
"status": "ok",
"app": {
"modID": "197651928518230016",
"appID": "1745287471226",
"perms": [
"start_app",
"stop_app",
"restart_app",
"logs_app",
"commit_app",
"edit_ram",
"backup_app",
"status_app"
]
}
}
Removes a team member from an application
ID of the application to remove the team member from
ID of the team member to remove
Team member removed successfully
Authentication error
Not found errors
DELETE /v2/app/{appID}/team/{modID} HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"message": "Moderator removed from the application"
}
Last updated