Users
Manage users
Return the list of the user of the account environment
Prefix the token with 'Bearer ' to indicate it is a bearer token
The ID of the account
The ID of the environment
Index of the page
0Number of items per page
10Success
Not Found
GET /v1/accounts/{account_id}/account_environments/{account_environment_id}/users HTTP/1.1
Host: api.flagship.io
Authorization: YOUR_API_KEY
Accept: */*
{
"current_item_count": 1,
"current_page": 0,
"total_count": 1,
"items_per_page": 10,
"last_page": 1,
"items": [
{
"data": [
{
"email": "text",
"role": "ACCOUNT_OWNER"
}
]
}
]
}Update the users of the account environment. It will create automatically the users which does not exist.
Prefix the token with 'Bearer ' to indicate it is a bearer token
The ID of the account
The ID of the environment
Email of the user
Role of the user
Updated
Not Found
PUT /v1/accounts/{account_id}/account_environments/{account_environment_id}/users HTTP/1.1
Host: api.flagship.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 41
[
{
"email": "text",
"role": "ACCOUNT_OWNER"
}
]No content
Delete the users of the account environment. You can delete multuple users in the same time.
Prefix the token with 'Bearer ' to indicate it is a bearer token
The ID of the account
The ID of the environment
Email of the user to delete
Deleted
Not Found
DELETE /v1/accounts/{account_id}/account_environments/{account_environment_id}/users HTTP/1.1
Host: api.flagship.io
Authorization: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

