CZERTAINLY Local API (2.13.1)
Download OpenAPI specification:Download
REST API for local administration operations without authentication
Create Administrator
Request Body schema: application/jsonrequired
username required | string Username of the user |
description | string Description of the user |
firstName | string First name of the user |
lastName | string Last name of the user |
string Email of the user | |
groupUuids | Array of strings Groups UUIDs of the user |
enabled | boolean Status of the user. True = Enabled, False = Disabled |
certificateData | string Base64 Content of the user certificate |
certificateUuid | string UUID of the existing certificate in the Inventory |
Array of objects (RequestAttributeDto) List of Custom Attributes |
Responses
Request samples
- Payload
Content type
application/json
{- "username": "user1",
- "description": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "groupUuids": [
- "string"
], - "enabled": true,
- "certificateData": "string",
- "certificateUuid": "string",
- "customAttributes": [
- {
- "uuid": "166b5cf52-63f2-11ec-90d6-0242ac120003",
- "name": "Attribute",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
]
}
Response samples
- 200
- 400
- 403
- 404
Content type
application/json
{- "uuid": "5b5f0784-2519-11ed-861d-0242ac120002",
- "username": "user1",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "description": "string",
- "groups": [
- {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name"
}
], - "enabled": true,
- "systemUser": true,
- "certificate": {
- "uuid": "string",
- "fingerprint": "string"
}, - "roles": [
- {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "description": "string",
- "email": "string",
- "systemRole": true
}
], - "customAttributes": [
- {
- "uuid": "166b5cf52-63f2-11ec-90d6-0242ac120003",
- "name": "Attribute",
- "label": "Attribute Name",
- "type": "data",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
]
}