Create a resource

Creating a resource starts by asking yourself a couple of questions:

  1. Which type do you need to create? Is this a group of desks, a private office, a permanently assigned desk, or a meeting room?
  2. Does this resource need to be grouped with other resources? Example: The resource "1st floor" could be used to group together "Sales Suite" and "Jenny's Office"

Endpoints

Create a new resource

  • POST /offices/:officeId/resources
    • Permissions: team:add
    • Roles: owner

Parameters

  • name - string - required

Response

  • id - string: Team Id

Example

$ echo '{
    "name": "Marketing"
}' | http POST 'http://localhost:5000/teams' 'X-Tactic-Orgz: ORGANIZATION_SLUG' 'Authorization: Bearer ACCESS_TOKEN'

HTTP/1.1 201 Created
{
    "id": "team_481f5742-9620-49df-82aa-ce23d64e5575"
}
Was this page helpful?