Skip to main content
POST
/
admin
/
permission
/
save
Save a Permission.
curl --request POST \
  --url https://api.example.com/admin/permission/save \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "languageID": 123,
  "title": "<string>",
  "code": "<string>",
  "description": "<string>",
  "permissionID": null,
  "permissionGroupID": 123
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
languageID
integer<int32>
title
string | null
code
string | null
description
string | null
permissionID
integer<int32> | null
permissionGroupID
integer<int32>

Response

Success

success
boolean
data
unknown