Closed lukeheath closed 1 year ago
fleet/mdm/apple/setup
// TODO: confirm these role requirements
PATCH /api/v1/fleet/mdm/apple/setup
{ team_id: number, // "0" represents "No Team" enable_end_user_authentication: boolean }
Success
code: 200
MDM Not Configured:
code: 422
{ "message": ??? // TODO: confirm "errors": [ "name": ??? // TODO: confirm "reason": ??? // TODO: confirm ] }
License Error:
// TODO: pull out and link from somewhere else
code: 402
{ "message": "requires Fleet Premium license" // TODO: confirm "errors": [ "name": ??? // TODO: confirm "reason": ??? // TODO: confirm ] }
Server Error
code: 500
{ "message": ??? // TODO: confirm "errors": [ "name": "reason": ] }
Request Body:
{ team_id: 1 enable_end_user_authentication: true }
Hey team! Please add your planning poker estimate with Zenhub @gillespi314 @mna @roperzh
Apple setup soars, End user authentication, A glass city shines.
Tasks
fleet/mdm/apple/setup
endpoint to support new user authentication property.Roles
// TODO: confirm these role requirements
License
API spec
Endpoint:
PATCH /api/v1/fleet/mdm/apple/setup
Request Body:
Responses:
Success
code: 200
MDM Not Configured:
code: 422
License Error:
// TODO: pull out and link from somewhere else
code: 402
Server Error
// TODO: pull out and link from somewhere else
code: 500
Example
PATCH /api/v1/fleet/mdm/apple/setup
Request Body:
API Checklist