Teams API

get
Get list of all project teams

https://api.jetadmin.io/api/projects/:PROJECT_NAME/groups/
Request
Response
Request
Path Parameters
PROJECT_NAME
required
string
Unique project name (can be taken from Jet Admin project URL)
Headers
Authorization
required
string
Token authentication, example: Authorization: ProjectToken f42a3cab3f146b283701a4e314f1c7ba57fdb59e
Response
200: OK
[
{
id: 35091
name: "Sales"
description: ""
super_group: false
project_permissions: [
{
id: 525
permission_type: "model"
permission_object: "jet_bridge.users_user"
permission_actions: "r"
date_add: "2019-03-22T19:03:02.425689+03:00"
}
],
properties: {
industry: "EdTech"
}
}
]

post
Create new project team

https://api.jetadmin.io/api/projects/:PROJECT_NAME/groups/
Request
Response
Request
Path Parameters
PROJECT_NAME
required
string
Unique project name (can be taken from Jet Admin project URL)
Headers
Authorization
required
string
Token authentication, example: Authorization: ProjectToken f42a3cab3f146b283701a4e314f1c7ba57fdb59e
Body Parameters
name
optional
string
Group name, example: "Sales"
super_group
required
boolean
If group will have all permissions
project_permissions
required
array
Array of permissions
properties
optional
object
JSON Object, example: {"industry": "New York"}
Response
201: Created
{
id: 35091
name: "Sales"
description: ""
super_group: false
project_permissions: [
{
id: 525
permission_type: "model"
permission_object: "jet_bridge.users_user"
permission_actions: "r"
date_add: "2019-03-22T19:03:02.425689+03:00"
}
],
properties: {
industry: "EdTech"
}
}

patch
Update existing project team

https://api.jetadmin.io/api/projects/:PROJECT_NAME/groups/:GROUP_ID/
Request
Response
Request
Path Parameters
PROJECT_NAME
required
string
Unique project name (can be taken from Jet Admin project URL)
GROUP_ID
required
number
Group ID
Headers
Authorization
required
string
Token authentication, example: Authorization: ProjectToken f42a3cab3f146b283701a4e314f1c7ba57fdb59e
Body Parameters
name
optional
string
Group name, example: "Sales"
super_group
optional
boolean
If group will have all permissions
project_permissions
optional
array
Array of permissions
properties
optional
object
JSON Object, example: {"industry": "New York"}
Response
200: OK
{
id: 35091
name: "Sales"
description: ""
super_group: false
project_permissions: [
{
id: 525
permission_type: "model"
permission_object: "jet_bridge.users_user"
permission_actions: "r"
date_add: "2019-03-22T19:03:02.425689+03:00"
}
],
properties: {
industry: "EdTech"
}
}

delete
Delete existing project team

https://api.jetadmin.io/api/projects/:PROJECT_NAME/groups/:GROUP_ID/
Request
Response
Request
Path Parameters
PROJECT_NAME
required
string
Unique project name (can be taken from Jet Admin project URL)
GROUP_ID
required
number
Project user ID
Headers
Authorization
required
string
Token authentication, example: Authorization: ProjectToken f42a3cab3f146b283701a4e314f1c7ba57fdb59e
Response
200: OK