Projects
Projects provide a way to organize and group tenants and resources within the AuthSec platform.
List Projects
Retrieve all projects.
Endpoint: GET /uflow/projects
Headers
| Header | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer JWT token |
Response
Success (200):
[
{
"project_id": "string",
"name": "string",
"description": "string",
"created_at": "string",
"updated_at": "string"
}
]
Create Project
Create a new project.
Endpoint: POST /uflow/projects
Headers
| Header | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer JWT token |
Request Body
{
"name": "string",
"description": "string"
}
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Project name |
description | string | No | Project description |
Response
Success (201):
{
"project_id": "string",
"name": "string",
"description": "string",
"created_at": "string"
}
Error Responses:
400- Bad Request - invalid input401- Unauthorized409- Conflict - project name already exists