feat: Platform API improvements (#2900)
- Platform APIs to add and update custom attributes to users - Platform APIs to delete accounts - Platform APIs to delete users
This commit is contained in:
@@ -9,4 +9,7 @@ properties:
|
||||
password:
|
||||
type: string
|
||||
description: Password must contain uppercase, lowercase letters, number and a special character
|
||||
custom_attributes:
|
||||
type: object
|
||||
description: Custom attributes you want to associate with the user
|
||||
|
||||
|
||||
@@ -19,6 +19,9 @@ properties:
|
||||
enum: ['agent', 'administrator']
|
||||
confirmed:
|
||||
type: boolean
|
||||
custom_attributes:
|
||||
type: object
|
||||
description: Available for users who are created through platform APIs and has custom attributes associated.
|
||||
accounts:
|
||||
type: array
|
||||
items:
|
||||
|
||||
@@ -64,7 +64,7 @@ x-tagGroups:
|
||||
- Teams
|
||||
- Custom Filter
|
||||
- Reports
|
||||
- name: Public
|
||||
- name: Client
|
||||
tags:
|
||||
- Contacts API
|
||||
- Conversations API
|
||||
|
||||
@@ -3085,6 +3085,10 @@
|
||||
"confirmed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"custom_attributes": {
|
||||
"type": "object",
|
||||
"description": "Available for users who are created through platform APIs and has custom attributes associated."
|
||||
},
|
||||
"accounts": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -3489,6 +3493,10 @@
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "Password must contain uppercase, lowercase letters, number and a special character"
|
||||
},
|
||||
"custom_attributes": {
|
||||
"type": "object",
|
||||
"description": "Custom attributes you want to associate with the user"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4173,7 +4181,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Public",
|
||||
"name": "Client",
|
||||
"tags": [
|
||||
"Contacts API",
|
||||
"Conversations API",
|
||||
|
||||
Reference in New Issue
Block a user