v1
API
CLI
JS Client

Org / Org Roles /

Add member to org role

Adds a user to a platform role in the authenticated org.

Required permission

Os > Admin > Roles > Manage

Path parameters

    • roleId

      string required
      ID of the org role

Request body

  • {object}
    • userId

      string required
      ID of the user to add to this role.

Response body

  • {object}
    Response object.
    • data

      {object} required
      Result data.
    API
    CLI
    JS Client

    POST /v1/org-roles/{roleId}/members

    Example request

    Request body
    curl --header "Content-Type: application/json" \
      --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
      --request POST \
      --data '{"userId":"5e6ea4090a1a280001b2d4e3"}' \
      https://api.northflank.com/v1/org-roles/{roleId}/members

    Example response

    200 OK

    The operation was performed successfully.

    JSON

    {
      "data": {}
    }

    © 2026 Northflank Ltd. All rights reserved.