Members

Add a member

The org is orgId in the path. Adds a new member to the organization with the specified roles.

post/v1/orgs/{orgId}/members

Request

  • Base URL
    https://api.spice.ai
  • Auth
    HTTP bearer

Path parameters

orgIdinteger required

The org id from GET /v1/orgs

Headers

X-Org-Namestring

When present, X-Org-Name must name the same org as orgId. Otherwise the request returns org_path_mismatch (400).

Request body

usernamestring required

The username of the user to add

rolesstring[]

Roles to assign to the new member

Response

Member added successfully

user_idinteger
usernamestring
rolesstring[]
created_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.