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

25 lines
387 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:
204:
description: Success