User Management > Teams

Create a Team

Create a Team for a given Account.

post/1/accounts/{account}/teams

Path parameters

accountinteger required

Unique identifier of the Account

Request body

color_idinteger

Unique identifier of the color of the resource {name}

descriptionstring nullable

Description of the resource {name}

logo'archive-box' | 'chart-bars-outline' | 'cloud' | 'database-outline' | 'envelope' | 'flash-1' | 'ia-magic-wand' | 'id-card' | 'layout-4-squares-outline' | 'light-bulb-shine-2' | 'lock-outline' | 'multi-bubble-speach' | 'multiple-users' | 'network-thin' | 'pie-chart-outline' | 'shield-neutral' | 'synchronize' | 'time-clock-circle-alternate' | 'window-cog-light' nullable

Logo for the team

namestring required

Name of the resource Team

owned_by_idinteger

Unique identifier of the user that owned the resource Team

owned_by_idsinteger[]

Array of user IDs who are owners of the team

parent_idinteger nullable

Unique identifier of the parent team for hierarchical organization

user_idsinteger[]

Response

Created

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success",
  "data": {
    "permissions": [
      {
        "service_name": "swiss_backup"
      }
    ]
  }
}

Changes