Internal (Ops)
POST
/sync-rolesCreate Sync Roles
Reload role templates and broadcast policy update. Internal ops app (port 5002, no api_version, guarded by the internal token header).
Request
Example
curl -X POST '{{internal_base_url}}/sync-roles' \
-H 'Content-Type: application/json' \
-d '{}'Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Body
{}Responses
200200 OK
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Body
{
"message": "<string>"
}500500 Internal Server Error
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Body
{
"error": null
}