Members
List members
Get all users active in the account. It also lists resources like projects and locales the member has access to. In case nothing is shown the default access from the role is used. Access token scope must include team.manage.
get/accounts/{account_id}/members
Request
- Base URLhttps://eu.phrase.com/control-hub
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
account_idstring required
Account ID
Query parameters
pageinteger
Page number
per_pageinteger
Limit on the number of objects to be returned, between 1 and 100. 25 by default
Headers
X-PhraseApp-OTPstring
Two-Factor-Authentication token (optional)
Response
OK
Example response
[
{
"id": "acbdacbdacbdacbdacbdacbd",
"email": "foo@bar.com",
"username": "myname",
"created_at": "2020-12-07T12:56:21Z",
"last_activity_at": "2020-12-09T12:56:21Z",
"role": "Manager",
"projects": [
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "My Android Project",
"main_format": "xml",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z",
"locales": [
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "English",
"code": "en-Gb"
}
]
}
],
"permissions": [
{
"create_upload": true,
"review_translations": true
}
],
"default_locale_codes": [
"en",
"fi"
],
"teams": [
{
"id": "04d36d845576b9d494d05e0b70fe813c",
"name": "Team 1",
"created_at": "2020-12-07T12:56:21Z",
"updated_at": "2020-12-07T12:56:21Z"
}
],
"spaces": [
{
"id": "04d36d845576b9d494d05e0b70fe813b",
"name": "Space2",
"created_at": "2020-12-07T12:56:21Z",
"updated_at": "2020-12-07T12:56:21Z",
"projects_count": 1
}
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.