Skip to main content
PUT
Error
This endpoint is available in Bifrost Enterprise only.

Authorizations

Authorization
string
header
required

Management API authentication for /api/* endpoints. Use the Authorization header with Bearer <token>, where <token> is one of:

  • a Bifrost management API key,
  • a dashboard session token issued by POST /api/session/login,
  • base64 of <admin-username>:<admin-password> (legacy equivalent of BasicAuth).

Virtual keys (sk-bf-*) and the x-api-key header are not accepted on management APIs - the sole exception is GET /api/governance/virtual-keys/quota, which is virtual-key-only.

Path Parameters

project_id
string
required
member_id
string
required

The membership row id, not the user id.

Body

application/json

The member's complete statement of caps. A source this body does not name loses its cap, and an empty body clears every cap the member holds. Only available on a project with split_policy: none.

budget_shares
object[]
rate_limit_shares
object[]

Response

Member updated

member
object

A user on a project's roster. Members are users, never keys or teams: a key authenticates a request, and the user behind it is who belongs to a project.