Orgs API


get
/ v1 / orgs
curl --request GET \
     --url https://api.flexstack.com/v1/orgs \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Query Parameters

after
string
limit
integer (int64)

Responses

200
OK response.
data
array (object)
required
Show attributes
avatar
string
created_at
string (date-time)
required
display_name
string
required
id
string
required
name
string
required
profile
object
required
Show attributes
bio
string
github_handle
string
location
string
twitter_handle
string
website
string
updated_at
string (date-time)
required
has_more
boolean
required
next_page
string
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
get
/ v1 / flags
curl --request GET \
     --url https://api.flexstack.com/v1/flags \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Responses

200
OK response.
flags
object
required
Show attributes
chat_support
boolean
required
log_integrations
boolean
required
max_concurrent_deployments
integer (int64)
required
max_environments
integer (int64)
required
max_projects
integer (int64)
required
max_running_services
integer (int64)
required
max_team_member_invites
integer (int64)
required
max_team_members
integer (int64)
required
org_id
string
required
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
get
/ v1 / members
curl --request GET \
     --url https://api.flexstack.com/v1/members \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Query Parameters

role
array (string)
after
string
limit
integer (int64)
sort_by
enum

Responses

200
OK response.
data
array (object)
required
Show attributes
account_id
string
required
avatar
string
created_at
string (date-time)
required
display_name
string
required
id
string
required
name
string
required
org_id
string
required
profile
object
required
Show attributes
bio
string
github_handle
string
location
string
twitter_handle
string
website
string
role
enum
required
has_more
boolean
required
next_page
string
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
get
/ v1 / orgs / :id
curl --request GET \
     --url https://api.flexstack.com/v1/orgs/1C8xJnvSBaztoHyxcim7C4 \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Path Parameters

id
string
required

Responses

200
OK response.
avatar
string
created_at
string (date-time)
required
display_name
string
required
id
string
required
name
string
required
profile
object
required
Show attributes
bio
string
github_handle
string
location
string
twitter_handle
string
website
string
updated_at
string (date-time)
required
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
put
/ v1 / orgs / :id
curl --request PUT \
     --url https://api.flexstack.com/v1/orgs/1C8xJnvSBaztoHyxcim7C4 \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl' \
     --header 'content-type: application/json'

Path Parameters

id
string
required

Request Body

Important note

PUT requests are used to replace an existing resource. The request body should contain the full representation of the resource, including any fields that are not being updated.

display_name
string
required
name
string
required
profile
object
required
Show attributes
bio
string
github_handle
string
location
string
twitter_handle
string
website
string

Responses

200
OK response.
avatar
string
created_at
string (date-time)
required
display_name
string
required
id
string
required
name
string
required
profile
object
required
Show attributes
bio
string
github_handle
string
location
string
twitter_handle
string
website
string
updated_at
string (date-time)
required
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
get
/ v1 / flags / :flag
curl --request GET \
     --url https://api.flexstack.com/v1/flags/notification_webhooks \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Path Parameters

flag
enum
required

Responses

200
OK response.
ok
boolean
required
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
get
/ v1 / members / :id
curl --request GET \
     --url https://api.flexstack.com/v1/members/1C8xJnvSBaztoHyxcim7C4 \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Path Parameters

id
string
required

Responses

200
OK response.
account_id
string
required
avatar
string
created_at
string (date-time)
required
display_name
string
required
id
string
required
name
string
required
org_id
string
required
profile
object
required
Show attributes
bio
string
github_handle
string
location
string
twitter_handle
string
website
string
role
enum
required
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
put
/ v1 / members / :id
curl --request PUT \
     --url https://api.flexstack.com/v1/members/1C8xJnvSBaztoHyxcim7C4 \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl' \
     --header 'content-type: application/json'

Path Parameters

id
string
required

Request Body

Important note

PUT requests are used to replace an existing resource. The request body should contain the full representation of the resource, including any fields that are not being updated.

role
enum

Responses

200
OK response.
account_id
string
required
avatar
string
created_at
string (date-time)
required
display_name
string
required
id
string
required
name
string
required
org_id
string
required
profile
object
required
Show attributes
bio
string
github_handle
string
location
string
twitter_handle
string
website
string
role
enum
required
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
delete
/ v1 / members / :id
curl --request DELETE \
     --url https://api.flexstack.com/v1/members/1C8xJnvSBaztoHyxcim7C4 \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Path Parameters

id
string
required

Responses

204
No content
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
get
/ v1 / member-invites
curl --request GET \
     --url https://api.flexstack.com/v1/member-invites \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Query Parameters

role
array (string)
after
string
limit
integer (int64)
sort_by
enum

Responses

200
OK response.
data
array (object)
required
Show attributes
created_at
string (date-time)
required
email
string
expires_at
string (date-time)
required
id
string
required
invited_by
object
Show attributes
avatar
string
display_name
string
required
id
string
required
name
string
required
org_id
string
required
role
enum
required
has_more
boolean
required
next_page
string
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
post
/ v1 / member-invites
curl --request POST \
     --url https://api.flexstack.com/v1/member-invites \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl' \
     --header 'content-type: application/json'

Request Body

invitees
array (object)
Show attributes
email
string (email)
required
role
enum
required

Responses

201
Created response.
created_at
string (date-time)
required
email
string
expires_at
string (date-time)
required
id
string
required
invited_by
object
Show attributes
avatar
string
display_name
string
required
id
string
required
name
string
required
link
string
org_id
string
required
role
enum
required
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
get
/ v1 / member-invites / :id
curl --request GET \
     --url https://api.flexstack.com/v1/member-invites/1C8xJnvSBaztoHyxcim7C4 \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Path Parameters

id
string
required

Responses

200
OK response.
created_at
string (date-time)
required
email
string
expires_at
string (date-time)
required
id
string
required
invited_by
object
Show attributes
avatar
string
display_name
string
required
id
string
required
name
string
required
org_id
string
required
role
enum
required
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
put
/ v1 / member-invites / :id
curl --request PUT \
     --url https://api.flexstack.com/v1/member-invites/1C8xJnvSBaztoHyxcim7C4 \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl' \
     --header 'content-type: application/json'

Path Parameters

id
string
required

Request Body

Important note

PUT requests are used to replace an existing resource. The request body should contain the full representation of the resource, including any fields that are not being updated.

role
enum
required

Responses

200
OK response.
created_at
string (date-time)
required
email
string
expires_at
string (date-time)
required
id
string
required
invited_by
object
Show attributes
avatar
string
display_name
string
required
id
string
required
name
string
required
org_id
string
required
role
enum
required
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
delete
/ v1 / member-invites / :id
curl --request DELETE \
     --url https://api.flexstack.com/v1/member-invites/1C8xJnvSBaztoHyxcim7C4 \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Path Parameters

id
string
required

Responses

204
No content
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
post
/ v1 / member-invites / :id / resend
curl --request POST \
     --url https://api.flexstack.com/v1/member-invites/1C8xJnvSBaztoHyxcim7C4/resend \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Path Parameters

id
string
required

Responses

201
Created response.
created_at
string (date-time)
required
email
string
expires_at
string (date-time)
required
id
string
required
invited_by
object
Show attributes
avatar
string
display_name
string
required
id
string
required
name
string
required
org_id
string
required
role
enum
required
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
Post to