Role Controller
Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
GET /api/roles/{roleId} HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
{
"creationDate": "2025-11-22T18:57:10.930Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T18:57:10.930Z",
"id": "text",
"name": "text"
}Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
No Content
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
PUT /api/roles/{roleId} HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 27
{
"id": "text",
"name": "text"
}No content
Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
No Content
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
DELETE /api/roles/{roleId} HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
No content
Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
GET /api/roles HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
[
{
"creationDate": "2025-11-22T18:57:10.930Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T18:57:10.930Z",
"id": "text",
"name": "text"
}
]Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
POST /api/roles HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 27
{
"id": "text",
"name": "text"
}{
"creationDate": "2025-11-22T18:57:10.930Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T18:57:10.930Z",
"id": "text",
"name": "text"
}Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
GET /api/roles/{roleId}/permissions HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
[
{
"creationDate": "2025-11-22T18:57:10.930Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T18:57:10.930Z",
"id": "text",
"name": "text"
}
]Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
POST /api/roles/{roleId}/permissions HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"{
"creationDate": "2025-11-22T18:57:10.930Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T18:57:10.930Z",
"id": "text",
"name": "text"
}Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
POST /api/roles/{roleId}/permissions/multi?permissionIds=text HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
[
{
"creationDate": "2025-11-22T18:57:10.930Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T18:57:10.930Z",
"id": "text",
"name": "text"
}
]Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
GET /api/roles/{roleId}/menus HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
[
{
"creationDate": "2025-11-22T18:57:10.930Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T18:57:10.930Z",
"id": "text",
"name": "text"
}
]Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
POST /api/roles/{roleId}/menus HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"{
"creationDate": "2025-11-22T18:57:10.930Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T18:57:10.930Z",
"id": "text",
"name": "text"
}Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
POST /api/roles/{roleId}/menus/multi?menuIds=text HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
[
{
"creationDate": "2025-11-22T18:57:10.930Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T18:57:10.930Z",
"id": "text",
"name": "text"
}
]Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
POST /api/roles/import HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"file": "binary"
}{}Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
GET /api/roles/{roleId}/permissions/{permissionId} HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
{
"creationDate": "2025-11-22T18:57:10.930Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T18:57:10.930Z",
"id": "text",
"name": "text"
}Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
No Content
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
DELETE /api/roles/{roleId}/permissions/{permissionId} HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
No content
Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
GET /api/roles/{roleId}/menus/{menuId} HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
{
"creationDate": "2025-11-22T18:57:10.930Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T18:57:10.930Z",
"id": "text",
"name": "text"
}Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
No Content
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
DELETE /api/roles/{roleId}/menus/{menuId} HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
No content
Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
falseOK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
GET /api/roles/export HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
{}Last updated