Paycose Docs
Internal (Ops)
POST/sync-roles

Create 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

NameValue
Content-Typeapplication/json

Body

{}

Responses

200200 OK

Headers

NameValue
Content-Typeapplication/json

Body

{
  "message": "<string>"
}
500500 Internal Server Error

Headers

NameValue
Content-Typeapplication/json

Body

{
  "error": null
}

On this page