user
default
🛡️👤 Change the status of an account member: regular, admin, or banished (deleted). This endpoint is allowed only for account admins.
Changed onput/account/user
Request
- Base URL{{ server_url }}/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"user": "github|60340680",
"account": 1,
"status": "regular"
}Response
Effective account members.
Example response
{
"regulars": [
{
"id": "github|24828976",
"native_id": "24828976",
"login": "jjdoe",
"name": "Jane Josephine Doe",
"email": "janedoe@exampleco.com",
"picture": "https://exampleco.com/janedoe/me.jpg",
"updated": "2020-01-23T12:00:00Z"
},
{
"id": "github|24828977",
"native_id": "24828977",
"login": "jjdoe",
"name": "Jane Josephine Doe",
"email": "janedoe@exampleco.com",
"picture": "https://exampleco.com/janedoe/me.jpg",
"updated": "2020-01-23T12:00:00Z"
}
],
"admins": [
{
"id": "github|24828978",
"native_id": "24828978",
"login": "jjdoe",
"name": "Jane Josephine Doe",
"email": "janedoe@exampleco.com",
"picture": "https://exampleco.com/janedoe/me.jpg",
"updated": "2020-01-23T12:00:00Z"
},
{
"id": "github|24828979",
"native_id": "24828979",
"login": "jjdoe",
"name": "Jane Josephine Doe",
"email": "janedoe@exampleco.com",
"picture": "https://exampleco.com/janedoe/me.jpg",
"updated": "2020-01-23T12:00:00Z"
}
],
"organizations": [
{
"name": "Athenian",
"login": "athenianco",
"avatar_url": "https://avatars3.githubusercontent.com/u/58329504?s=200&v=4"
}
],
"datasources": [
"github",
"jira"
],
"jira": {
"url": "https://athenianco.atlassian.net",
"projects": [
"DEV",
"ENG"
]
}
}Changes
- info
added the required property
////to the response with the status - info
added the required property
////to the response with the status
- info
- info
added the required property
to the response with the status
- info