2018-09-22 17:01:50 +00:00
|
|
|
Updates an account role
|
|
|
|
---
|
|
|
|
tags:
|
|
|
|
- Account
|
|
|
|
- Role
|
|
|
|
parameters:
|
|
|
|
- in: path
|
|
|
|
name: account_id
|
|
|
|
required: true
|
|
|
|
type: integer
|
|
|
|
description: Id of the account
|
|
|
|
- in: body
|
|
|
|
name: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
required:
|
|
|
|
- role_id
|
|
|
|
properties:
|
|
|
|
role_id:
|
|
|
|
type: integer
|
|
|
|
responses:
|
2018-10-24 20:20:50 +00:00
|
|
|
200:
|
2018-09-22 17:01:50 +00:00
|
|
|
description: Success
|
2018-10-24 20:20:50 +00:00
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
required:
|
|
|
|
- content
|
|
|
|
properties:
|
|
|
|
content:
|
|
|
|
$ref: '#/definitions/User'
|