doc: Swagger for custom attribute APIs (#4382)

This commit is contained in:
Muhsin Keloth
2022-04-07 19:01:31 +05:30
committed by GitHub
parent d4a046a21e
commit dfb56f6bb8
11 changed files with 453 additions and 3 deletions

View File

@@ -0,0 +1,28 @@
tags:
- Custom Attributes
operationId: update-custom-attribute-in-account
summary: Update custom attribute in Account
description: Update a custom attribute in account
security:
- userApiKey: []
parameters:
- in: path
name: id
type: integer
required: true
description: The ID of the custom attribute to be updated.
- name: data
in: body
required: true
schema:
$ref: '#/definitions/custom_attribute_create_update_payload'
responses:
200:
description: Success
schema:
description: 'The updated custom attribute'
$ref: '#/definitions/custom_attribute'
404:
description: Agent not found
403:
description: Access denied