Skip to content

Admin Panel APIs (1.0.0)

The Admin Panel APIs provide endpoints for managing organizations, users, roles, system configurations, and security features. They also support timestamp-based access controls and geo-fencing to enhance security and compliance.

Download OpenAPI description
Languages
Servers
Mock server
https://api-docs.ivalt.com/_mock/products/admin-portal/admin_apis/
Production server
https://api.ivalt.com/admin/public/api/

Admin Panel Apis

Admin Panel APIs for organization, user, and role management. Includes system configurations, security controls, timestamps, and geo-fencing features.

Operations

Update Organization User

Request

Updates the details of a specific user in an organization.

Security
ApiKeyAuth
Path
orgIdstringrequired

Path parameter: orgId

userIdstringrequired

Path parameter: userId

Bodyapplication/jsonrequired

Request payload for user PUT.

emailstringrequired

Email of put /organization/{orgid}/update/user/{userid} request.

Example: "admin@example.com"
namestringrequired

Name of put /organization/{orgid}/update/user/{userid} request.

verify_timeslotsstringrequired

Verify timeslots of put /organization/{orgid}/update/user/{userid} request.

timeslotsstringrequired

Timeslots of put /organization/{orgid}/update/user/{userid} request.

curl -i -X PUT \
  'https://api-docs.ivalt.com/_mock/products/admin-portal/admin_apis/organization/{orgId}/update/user/{userId}' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "email": "bikramjeet@ivalt.com",
    "name": "Bikramjeet Singh",
    "verify_timeslots": "on",
    "timeslots": "[{\"timezone\":\"UTC\",\"start_time\":\"2023-05-08T09:39:00Z\",\"end_time\":\"2023-05-08T21:39:00Z\",\"status\":1,\"user_id\":32,\"org_id\":\"272\"}]"
  }'

Responses

User updated successfully

Bodyapplication/json
statusstringrequired

Outcome of the request. Always success for 2xx responses.

Value"success"
Example: "success"
messagestringrequired

Short description of the successful operation outcome.

Example: "Operation completed successfully"
Response
application/json
{ "status": "success", "message": "Update Organization User" }

Update Organization Auth Code

Request

Updates an authentication code for the specified organization.

Security
ApiKeyAuth
Path
orgIdstringrequired

Path parameter: orgId

authCodeIdstringrequired

Path parameter: authCodeId

Bodyapplication/jsonrequired

Request payload for auth-code PUT.

client_idstringrequired

Client id of put /organization/{orgid}/update/auth-code/{authcodeid} request.

client_secretstringrequired

Client secret of put /organization/{orgid}/update/auth-code/{authcodeid} request.

curl -i -X PUT \
  'https://api-docs.ivalt.com/_mock/products/admin-portal/admin_apis/organization/{orgId}/update/auth-code/{authCodeId}' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "client_id": "dshfosdhfg",
    "client_secret": "sdfgsdgds"
  }'

Responses

Auth code updated successfully

Bodyapplication/json
statusstringrequired

Outcome of the request. Always success for 2xx responses.

Value"success"
Example: "success"
messagestringrequired

Short description of the successful operation outcome.

Example: "Operation completed successfully"
Response
application/json
{ "status": "success", "message": "Update Organization Auth Code" }

Delete Organization User

Request

Deletes a specific user from an organization.

Security
ApiKeyAuth
Path
orgIdstringrequired

Path parameter: orgId

userIdstringrequired

Path parameter: userId

curl -i -X DELETE \
  'https://api-docs.ivalt.com/_mock/products/admin-portal/admin_apis/organization/{orgId}/delete/user/{userId}' \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

User deleted successfully

Bodyapplication/json
statusstringrequired

Outcome of the request. Always success for 2xx responses.

Value"success"
Example: "success"
messagestringrequired

Short description of the successful operation outcome.

Example: "Operation completed successfully"
Response
application/json
{ "status": "success", "message": "Delete Organization User" }