Skip to main content
POST
Add a project member

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Path Parameters

project_id
string
required

Body

application/json
user_id
string
required

A workspace member who is not an owner or admin.

role
enum<string>
required

In the project a member acts with the weaker of this and their workspace role.

Available options:
project_admin,
developer,
viewer

Response

The project member as they now are.

ok
enum<boolean>
required
Available options:
true
member
object | null
required