Create an Office

Creating an office is simple. I will write more here once we finalize the endpoints.

Endpoints

Create a new office

  • POST /offices
    • Permissions: office:add
    • Roles: owner

Parameters

  • name - string - required: Name of office

Response

  • id - string: Office Id

Example

$ echo '{
"name": "Parma Heights"
}' | http POST 'http://localhost:5000/offices' 'X-Tactic-Orgz: ORGANIZATION_SLUG' 'Authorization: Bearer ACCESS_TOKEN'
HTTP/1.1 201 Created
{
"id": "offi_444c6631-0968-4797-a123-8c75b3393f56"
}
Was this page helpful?