university-final-iot-backend/app/api/resources/swagger/update_account_role_spec.yaml

32 lines
524 B
YAML
Raw Normal View History

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:
200:
2018-09-22 17:01:50 +00:00
description: Success
schema:
type: object
required:
- content
properties:
content:
$ref: '#/definitions/User'