Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
"twitter_account": {
"nickname": "NICKNAME",
"team_ids": [1, 2, ...]
}
}
{
"id": 1,
"screen_name": "SCREEN NAME",
"logo_url": "LOGO URL",
"nickname": "NICKNAME",
"teams_count": 2
}
| Param name | Description |
|---|---|
|
id
required |
ID of Twitter Account Validations:
|
|
twitter_account
required |
Validations:
|
|
twitter_account[nickname]
optional |
Validations:
|
|
twitter_account[team_ids]
required , nil allowed |
Validations:
|