Skip to main content
POST
/
policies
Update policies
curl --request POST \
  --url https://api.obselite.com/v0/policies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "cyclesEnabled": true,
  "featuresEnabled": true,
  "flatTeamsEnabled": true,
  "labelsEnabled": true,
  "languagesEnabled": true,
  "productsEnabled": true,
  "projectsEnabled": true,
  "statusGroupsEnabled": true,
  "tasksEnabled": true,
  "technologiesEnabled": true
}'
{
  "cyclesEnabled": true,
  "featuresEnabled": true,
  "labelsEnabled": true,
  "languagesEnabled": true,
  "productsEnabled": true,
  "projectsEnabled": true,
  "statusGroupsEnabled": true,
  "technologiesEnabled": true,
  "tasksEnabled": true,
  "flatTeamsEnabled": true,
  "organization": {},
  "team": {},
  "activities": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

The API token generated from the Obselite dashboard

Body

application/json
cyclesEnabled
boolean
featuresEnabled
boolean
flatTeamsEnabled
boolean
labelsEnabled
boolean
languagesEnabled
boolean
productsEnabled
boolean
projectsEnabled
boolean
statusGroupsEnabled
boolean
tasksEnabled
boolean
technologiesEnabled
boolean

Response

Successful response

cyclesEnabled
boolean
required
featuresEnabled
boolean
required
labelsEnabled
boolean
required
languagesEnabled
boolean
required
productsEnabled
boolean
required
projectsEnabled
boolean
required
statusGroupsEnabled
boolean
required
technologiesEnabled
boolean
required
tasksEnabled
boolean
required
flatTeamsEnabled
boolean
required
organization
object | null

The organization that owns this policy, following the organization schema

team
object | null

The team that this policy is associated with, following the team schema

activities
array