Skip to content

Create a feature flag user list

POST
/api/v4/projects/{id}/feature_flags_user_lists

Creates a feature flag user list in a specified project.

id
required
One of:
string

The ID or URL-encoded path of the project

Media type application/json
object
name
required

The name of the list

string
nullable
user_xids
required

A comma separated list of external user ids

string
nullable
Example generated
{
"name": "example",
"user_xids": "example"
}

Created

Media type application/json
object
id
integer format: int64
iid
integer
name
string
user_xids
string
project_id
integer format: int64
created_at
string format: date-time
updated_at
string format: date-time
path
string
edit_path
string
Example
{
"id": 1,
"iid": 1,
"name": "user_list",
"user_xids": "user1,user2",
"project_id": 2,
"created_at": "2020-02-04T08:13:10.507Z",
"updated_at": "2020-02-04T08:13:10.507Z"
}

Bad request

Unauthorized

Not found