Corporate account updated
Type: object
Domain: audit
Event: corporate
Version: 1
|
method required
Title: Operation HTTP method
Type: string
Min length: 1
Max length: 20
Example:
PUT
uri required
Title: API operation URI
Type: string
Min length: 1
Max length: 100
Example:
/v1/accounts/:accountId/status
object
Title: Corporate audit data message
Type: objectaccount_id required
Title: Unique account identifier in the Pismo Platform
Description: This field is used to retrieve account at Pismo's APIs
Type: integer
Example:
100602614
correlation_id required
Title: Correlation ID
Description: The correlation identifier
Type: string
Min length: 1
Max length: 75
Example:
d6e2e6ac-f4de-9398-9ef5-47e1398892b0
custom_claims
Description: Custom claims extracted from the JWT token that is present in the request.
Type: object or null
Example:
Any value
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Corporate account updated",
"required": [
"method",
"uri",
"object"
],
"properties": {
"method": {
"title": "Operation HTTP method",
"type": "string",
"minLength": 1,
"maxLength": 20,
"examples": [
"PUT"
]
},
"uri": {
"title": "API operation URI",
"type": "string",
"minLength": 1,
"maxLength": 100,
"examples": [
"/v1/accounts/:accountId/status"
]
},
"object": {
"title": "Corporate audit data message",
"type": "object",
"required": [
"account_id",
"correlation_id"
],
"properties": {
"account_id": {
"title": "Unique account identifier in the Pismo Platform",
"description": "This field is used to retrieve account at Pismo's APIs",
"type": "integer",
"minimum": 1,
"maximum": 4294967295,
"examples": [
100602614
]
},
"correlation_id": {
"title": "Correlation ID",
"description": "The correlation identifier",
"default": "",
"type": "string",
"minLength": 1,
"maxLength": 75,
"examples": [
"d6e2e6ac-f4de-9398-9ef5-47e1398892b0"
]
},
"custom_claims": {
"description": "Custom claims extracted from the JWT token that is present in the request.",
"type": "object or null",
"examples": [
"Any value"
]
}
}
}
}
}
{
"method": "PUT",
"uri": "/v1/accounts/:accountId/status",
"object": {
"account_id": 100602614,
"correlation_id": "d6e2e6ac-f4de-9398-9ef5-47e1398892b0",
"custom_claims": "Any value"
}
}
Updated 11 months ago