---
title: "Enable the floorplan collections feature flag for a project"
method: PUT
path: "/api/v3/projects/{project_id}/floorplans/flags/collections"
tags: ["floorplans"]
---

# Enable the floorplan collections feature flag for a project

`PUT /api/v3/projects/{project_id}/floorplans/flags/collections`

## Request

- Base URL: `https://client-api.us.fieldwire.com`
- URL: `https://client-api.us.fieldwire.com/api/v3/projects/{project_id}/floorplans/flags/collections`
- Auth: HTTP bearer

## Path parameters

- `project_id` string, uuid, required

## Headers

- `Fieldwire-Version` string, date, required

## Request body

- FloorplanFlagsCollectionsInput: Schema for enabling the floorplan collections feature flag on a project
  - `value` true, required: Must be true - this flag can only be enabled, not disabled
  - `default_collection_name` string, required: Name of the default collection folder that will be created when enabling the feature
  - `last_editor_user_id` integer, nullable: Required when using an API key; the ID of the user performing the action

## Response `201`

Collections flag enabled - returns the new project flag

- ProjectFlag: A feature flag scoped to a project
  - `id` string, uuid, required: ID of the entity
  - `creator_user_id` integer, required: ID of the user who created this entity
  - `last_editor_user_id` integer, required: ID of the user who most recently edited this entity
  - `project_id` string, uuid, required: ID of the project this flag belongs to
  - `name` 'is_plan_sheet_updated_notifications_enabled' | 'is_plan_markup_changed_notifications_enabled' | 'is_collections_enabled', required: Name of the feature flag
  - `value` boolean, required: Current value of the flag
  - `resolved_conflict` boolean, nullable, required: Specifies if PUT/PATCH request was rejected - do not store this field!
  - `created_at` string, date-time, required: Time when the server created the entity
  - `updated_at` string, date-time, required: Time when the server last updated the entity
  - `device_created_at` string, date-time, required: Time when the device created the entity
  - `device_updated_at` string, date-time, required: Time when the device last updated the entity
  - `deleted_at` string, date-time, nullable: Time the server deleted the entity

## Other responses

- `403`: Forbidden access
- `422`: Flag already enabled

---

[API](https://skmtc.dev/fieldwire/apis/fieldwire-regional-api.md) - [All operations](https://skmtc.dev/fieldwire/apis/fieldwire-regional-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fieldwire/apis/fieldwire-regional-api/revisions/34b820438c0b?raw)
