Create a new master key and split it into shares
| admin_password required | string Admin password for key management |
| admin_username required | string Admin username for key management |
| min_shares required | integer <int64> Minimum number of shares required to reconstruct the key |
| total_shares required | integer <int64> Total number of shares to create |
{- "admin_password": "admin_password123!",
- "admin_username": "admin",
- "min_shares": 3,
- "total_shares": 5
}{- "admin_username": "admin",
- "shares": [
- "EXAMPLEA5ZKwDn8Zotr3B+d+F+UzrcJ1Yhl2rU0",
- "EXAMPLEB5ZKwDn8Zotr3B+d+F+UzrcJ1Yhl2rU1",
- "EXAMPLEC5ZKwDn8Zotr3B+d+F+UzrcJ1Yhl2rU2"
]
}[- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
]Create a new role
| color required | string^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$ Color of the role |
| name required | string non-empty Name or the role |
{- "color": "#33FF57",
- "name": "team_sre"
}{- "color": "#33FF57",
- "id": 2,
- "name": "team_sre"
}Assign a role to a user
| role_id required | integer <int64> ID of the role to assign to the user |
| user_id required | integer <int64> ID of the user to assign the role to |
{- "role_id": 1,
- "user_id": 2
}Unassign a role to a user
| role_id required | integer <int64> ID of the role to assign to the user |
| user_id required | integer <int64> ID of the user to assign the role to |
{- "role_id": 1,
- "user_id": 2
}[- {
- "created_at": "2025-06-30T12:00:00Z",
- "owner": {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - "path": "customers/google/api_key",
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "users": [
- {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}
]
}, - {
- "created_at": "2025-06-30T12:00:00Z",
- "owner": {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - "path": "customers/google/api_key",
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "users": [
- {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}
]
}
]Update a secret
| authorized_roles required | Array of integers <int64> [ items <int64 > ] Role IDs authorized to access the secret |
| authorized_users required | Array of integers <int64> [ items <int64 > ] Users IDs authorized to access the secret |
| path required | string >= 2 characters Base64 encoded secret's path |
| value required | string non-empty The secret value |
{- "authorized_roles": [
- 1,
- 2
], - "authorized_users": [
- 1,
- 2,
- 3
], - "path": "L2N1c3RvbWVycy9nb29nbGUvYXBpX2tleQ==",
- "value": "SECRET_API_KEY123"
}Create a secret
| authorized_roles required | Array of integers <int64> [ items <int64 > ] Role IDs authorized to access the secret |
| authorized_users required | Array of integers <int64> [ items <int64 > ] Users IDs authorized to access the secret |
| path required | string >= 2 characters Base64 encoded secret's path |
| value required | string non-empty The secret value |
{- "authorized_roles": [
- 1,
- 2
], - "authorized_users": [
- 1,
- 2,
- 3
], - "path": "L2N1c3RvbWVycy9nb29nbGUvYXBpX2tleQ==",
- "value": "SECRET_API_KEY123"
}Retrieve a secret's information
| path required | string >= 2 characters Example: L2N1c3RvbWVycy9nb29nbGUvYXBpX2tleQ== Base64 encoded secret's path |
{- "authorized_roles": [
- {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "authorized_users": [
- {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}
], - "created_at": "2025-06-30T12:00:00Z",
- "owner": {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": true,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - "path": "customers/google/api_key",
- "updated_at": "2025-06-30T15:00:00Z"
}[- {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}, - {
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "roles": [
- {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}, - {
- "admin": false,
- "color": "#FF5733",
- "created_at": "2025-06-30T12:00:00Z",
- "id": 1,
- "name": "admin",
- "updated_at": "2025-06-30T15:00:00Z"
}
], - "updated_at": "2025-06-30T15:00:00Z",
- "username": "alice"
}
]Create a new user
| password required | string Password (hashed or plain depending on implementation) |
| username required | string >= 3 characters Username of the new user |
{- "password": "s3cr3t",
- "username": "alice"
}{- "id": 2,
- "username": "alice"
}Authenticate a user with username and password
| password required | string Password |
| username required | string Username |
{- "password": "s3cr3t",
- "username": "alice"
}{- "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
- "username": "alice"
}