Skip to main content
doc0blade47/compdocumentation home
Sign in

Fleet Policies

Confirms a fleet policy and uploads attachments.

Handles the confirmation of a fleet policy, including uploading image attachments to S3 and updating the policy result in the database. Supports updating existing results or creating new ones.

Last updated Oct 11, 2026
POST/api/confirm-fleet-policy

Request Body

Form data containing policy ID, policy name, organization ID, and image files.

object

Responses

200Policy confirmed and attachments uploaded successfully.application/json
object
400Invalid input (e.g., missing organizationId, invalid policyId, or non-image files).application/json
object
401Unauthorized. User session not found.application/json
object
403Forbidden. User is not a valid member of the organization.application/json
object
500Server-side error (e.g., S3 not configured, failed to upload files, or failed to save policy result).application/json
object

Try It

POST/api/confirm-fleet-policy
Request Bodymultipart/form-data
Was this page helpful?