Creates a policy.
required | object |
OK
{- "policy": {
- "name": "some_policy",
- "description": "written about the policy"
}
}
{- "id": 67,
- "account_id": 123,
- "name": "some_policy",
- "description": "written about the policy",
- "user_count": 3
}
Retrieves information about the specified policy.
OK
{- "id": 67,
- "account_id": 123,
- "name": "some_policy",
- "description": "written about the policy",
- "user_count": 3
}
Updates information related to a policy.
OK
{- "policy": {
- "name": "some_policy",
- "description": "written about the policy"
}
}
{- "id": 67,
- "account_id": 123,
- "name": "some_policy",
- "description": "written about the policy",
- "user_count": 3
}
{- "policy_ids": [
- "1",
- "2",
- "42"
]
}
[- {
- "id": 67,
- "account_id": 123,
- "name": "some_policy",
- "description": "written about the policy",
- "user_count": 3
}
]
{- "id": 67,
- "account_id": 123,
- "name": "some_policy",
- "description": "written about the policy",
- "user_count": 3
}
Detaches a policy from a user.
OK
{- "id": 67,
- "account_id": 123,
- "name": "some_policy",
- "description": "written about the policy",
- "user_count": 3
}
{- "id": 67,
- "account_id": 123,
- "name": "some_policy",
- "description": "written about the policy",
- "user_count": 3
}
{- "id": 67,
- "account_id": 123,
- "name": "some_policy",
- "description": "written about the policy",
- "user_count": 3
}