Manage Report Access
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Action
- action
type: string
enum: required
Action to perform: 'enable' or 'disable'
Allowed:disable,enable
Fields
id: HashID of the reportname: Report namedescription: Report descriptionenabled: Boolean indicating if the report is enabled for the user's organizationlabels: List of labels for filtering and organizing reportssort_priority: Priority for sorting reports (lower values appear first)
Enabled Field Logic
The enabled field shows whether this report is enabled for the authenticated user's organization:
True: OrganizationReportLink exists between the report and user's organizationFalse: No OrganizationReportLink exists (report is disabled for the organization)
This applies to both public reports and reports owned by the organization.
Even owned reports must be explicitly enabled via OrganizationReportLink.
name
type: string required
length ≤ 255
The name of the reportdescription
type: string | null
Description of the reportlabels
type: array of strings
Labels for filtering and organizing reports (max 55 chars, letters, numbers, spaces, and dashes only)labels
ADD stringsort_priority
type: integer
-2147483648 to 2147483647
Lower values appear first in lists (0 at top)
content-type
- content-type
type: string
enum
Defaults to application/json
Generated from available request content types
Allowed:application/json,application/x-www-form-urlencoded,multipart/form-data
Response Codes
200
object
- message: string
400
404
500
Curl Example
curl --request POST \
--url https://api.flextract.dev/api/reports/hashid/access/disable/ \
--header 'accept: application/json' \
--header 'content-type: application/json'
Example Response
{
"message": "string"
}