Status

The Status of an organization can be any one of these values:

Status Value
INACTIVE 0
ACTIVE 1
DELETED 2

Index

This method returns a list of organization accounts that the provided user is a member of.

Method URL
GET /api/v2/accounts.json?user_id=[user_id]

Parameters

Param Type Required Notes
user_id int Yes The User ID that belongs under the organization(s)

Example Response

Code Status
200 OK

Response JSON

[
    {
        "id": 2,
        "role": "Administrator",
        "name": "Team B",
        "status": 1
    },
    {
        "id": 1,
        "role": "Administrator",
        "name": "Team A",
        "status": 1
    }
]