User deactivated
Type: object
Domain: audit
Event: inactive_user
Version: 1
|
method required
Title: The operation HTTP method
Type: string
Example:
DELETE
uri required
Title: The API operation URI
Type: string
Example:
/v1/users/:email
email required
Title: The operator email
Type: string
Example:
[email protected]
roles required
Title: The operator roles
Type: array
Example:[ "backoffice-operator", "crm-operator", "geroficios-operator", "inspetoria-master", "treasury-operator" ]
origin required
Title: The Origin Schema
Type: string
Example:
CRM
APP
object required
Title: The audit data message
Type: objectname required
Title: The user name before remove
Type: string
Example:
Joao Pericles
roles required
Title: The user roles
Type: array
Example:[ "crm-operator" ]
email required
Title: The user email before remove
Type: string
Example:
[email protected]
{
"$id": "http://example.com/root.json",
"type": "object",
"title": "User deactivated",
"required": [
"method",
"uri",
"email",
"roles",
"origin",
"object"
],
"properties": {
"method": {
"type": "string",
"title": "The operation HTTP method",
"default": "",
"examples": [
"DELETE"
]
},
"uri": {
"type": "string",
"title": "The API operation URI",
"default": "",
"examples": [
"/v1/users/:email"
]
},
"email": {
"type": "string",
"title": "The operator email",
"default": "",
"examples": [
"[email protected]"
]
},
"roles": {
"type": "array",
"title": "The operator roles",
"items": {
"type": "string",
"title": "The roles",
"default": "",
"examples": [
"backoffice-operator",
"crm-operator",
"geroficios-operator",
"inspetoria-master",
"treasury-operator"
]
}
},
"origin": {
"type": "string",
"title": "The Origin Schema",
"default": "",
"examples": [
"CRM",
"APP"
]
},
"object": {
"type": "object",
"title": "The audit data message",
"required": [
"name",
"roles",
"email"
],
"properties": {
"name": {
"type": "string",
"title": "The user name before remove",
"default": "",
"examples": [
"Joao Pericles"
]
},
"roles": {
"type": "array",
"title": "The user roles",
"items": {
"type": "string",
"title": "The roles",
"default": "",
"examples": [
"crm-operator"
]
}
},
"email": {
"type": "string",
"title": "The user email before remove",
"default": "",
"examples": [
"[email protected]"
]
}
}
}
}
}
{
"method": "DELETE",
"uri": "/v1/users/:email",
"email": "[email protected]",
"roles": [
"backoffice-operator",
"crm-operator",
"geroficios-operator",
"inspetoria-master",
"treasury-operator"
],
"origin": "CRM",
"object": {
"name": "Joao Pericles",
"roles": [
"crm-operator"
],
"email": "[email protected]"
}
}
Updated 23 days ago