Skip to main content

Create role

POST 

/v1/roles-with-permissions

Create role

This endpoint allows clients to create a new role with associated permissions within the system. It accepts a JSON payload specifying the role details and permissions, and returns a status indicating success or failure. Upon successful creation, it also logs the activity.

Request

Body

required
    daily_limit int32nullable
    monthly_limit int32nullable
    name stringrequired
    permissions uuid[]required
    single_tx_limit int32nullable
    wallet_id uuidrequired

Responses

Role created

Schema

    string

Loading...