Send a message to the administrator
POST /api/2.0/settings/sendadmmail
Request
Sends a message to the administrator email when unauthorized users encounter issues accessing DocSpace.
Headers
- Accept
enum of string
Can be one of:
application/json
,text/json
,text/plain
.- Content-Type
enum of string
Can be one of:
application/json
,application/*+json
,text/json
.
Body
Request parameters for administrator message settings
- email
string
email Email
- culture
string
Culture
- message
string
Message
Examples
POST /api/2.0/settings/sendadmmail HTTP/1.1
Accept: application/json
Content-Length: 86
Content-Type: application/json
Host: example.com
{
"email": "Jaren81@gmail.com",
"culture": "some text",
"message": "some text"
}
curl --request POST \
--url https://example.com/api/2.0/settings/sendadmmail \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"email": "Jaren81@gmail.com",
"culture": "some text",
"message": "some text"
}'
Responses
200
Message about the result of sending a message