Create Language.
cURL
curl --request POST \ --url https://api.octaviatech.app/cms/languages/create \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "code": "en", "name": "English" }'
{ "success": true, "statusCode": 201, "message": "Create language successfully", "data": { "language": { "id": "{{id}}", "code": "en", "name": "English" } } }
Short language code (unique per tenant).
"en"
Human-readable name.
"English"
Created
The response is of type any.
any
Was this page helpful?