POST
/
v1
/
organizations
/
{organizationSlug}
/
members
curl --request POST \
  --url https://api.turso.tech/v1/organizations/{organizationSlug}/members \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "<string>",
  "role": "member"
}'
{
  "member": "iku",
  "role": "owner"
}

If you want to add someone who is not a registered Turso user, you can create an invite instead.

You must be an owner or admin to add other members. You can only add users to a team and not your personal account.

Path Parameters

organizationSlug
string
required

The slug of the organization or user account.

Body

application/json

The member you want to add.

The body is of type object.

Response

200
application/json

Successful response

The response is of type object.