Return the list of apps of the tenant. Deprecated in favor of the new endpoint api/v1/apps.
The complete set of permissions.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
[- {
- "entityType": "regular-user",
- "tenantId": 1001,
- "userId": "4008188b-ab50-4aa5-a3f2-b78091ccf92d",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdAt": "2021-12-14T16:04:15.099Z",
- "clientId": "6d2894ba-f998-4039-bba1-caba57caf681",
- "name": "MyApplication",
- "revoked": false
}
]
Create a new app and assign it with a client secret. This endpoint requires ADMIN role. Deprecated in favor of the new endpoint api/v1/apps.
The complete set of permissions.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "entityType": "regular-user",
- "tenantId": 1001,
- "userId": "4008188b-ab50-4aa5-a3f2-b78091ccf92d",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdAt": "2021-12-14T16:04:15.099Z",
- "clientId": "6d2894ba-f998-4039-bba1-caba57caf681",
- "name": "MyApplication",
- "revoked": false
}
{- "entityType": "regular-user",
- "tenantId": 1001,
- "userId": "4008188b-ab50-4aa5-a3f2-b78091ccf92d",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdAt": "2021-12-14T16:04:15.099Z",
- "clientId": "6d2894ba-f998-4039-bba1-caba57caf681",
- "name": "MyApplication",
- "revoked": false
}
Get the details of a given app. This endpoint requires ADMIN, EDITOR or VIEWER role. Deprecated in favor of the new endpoint api/v1/apps/{clientId}.
App details.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "entityType": "regular-user",
- "tenantId": 1001,
- "userId": "4008188b-ab50-4aa5-a3f2-b78091ccf92d",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdAt": "2021-12-14T16:04:15.099Z",
- "clientId": "6d2894ba-f998-4039-bba1-caba57caf681",
- "name": "MyApplication",
- "revoked": false
}
Update the details of a given app. This endpoint requires ADMIN role. Deprecated in favor of the new endpoint api/v1/apps/{clientId}.
User updated successfully
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "entityType": "regular-user",
- "tenantId": 1001,
- "userId": "4008188b-ab50-4aa5-a3f2-b78091ccf92d",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdAt": "2021-12-14T16:04:15.099Z",
- "clientId": "6d2894ba-f998-4039-bba1-caba57caf681",
- "name": "MyApplication",
- "revoked": false
}
{- "entityType": "regular-user",
- "tenantId": 1001,
- "userId": "4008188b-ab50-4aa5-a3f2-b78091ccf92d",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdAt": "2021-12-14T16:04:15.099Z",
- "clientId": "6d2894ba-f998-4039-bba1-caba57caf681",
- "name": "MyApplication",
- "revoked": false
}
Delete the given app from the tenant. This endpoint requires ADMIN role. Deprecated in favor of the new endpoint api/v1/apps/{clientId}.
User deleted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}
Generate a new secret for a given application. This endpoint requires ADMIN role. Deprecated in favor of the new endpoint api/v1/apps/{clientId}/secret.
The secret generated succefully
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "entityType": "regular-user",
- "tenantId": 1001,
- "userId": "4008188b-ab50-4aa5-a3f2-b78091ccf92d",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdAt": "2021-12-14T16:04:15.099Z",
- "clientId": "6d2894ba-f998-4039-bba1-caba57caf681",
- "name": "MyApplication",
- "revoked": false
}
Retrieve a list of applications.
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
[- {
- "name": "app123",
- "createdBy": "test@run.ai",
- "createdAt": "2020-01-01T00:00:00Z",
- "updatedAt": "2020-01-01T00:00:00Z",
- "enabled": true,
- "tenantId": 1234567890,
- "lastLogin": "2020-01-01T00:00:00Z",
- "id": "3434c-12323ab-4ce2ea6-b44fc-db344d"
}
]
Used to create an application.
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource already exists
unexpected error
unexpected error
{- "name": "app-123"
}
{- "id": "0eeaf222-e503-4f35-9d9c-c419816272e3",
- "name": "app123",
- "secret": "asdasidjn9d"
}
Retrieve a list of installer applications.
Executed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "id": "0eeaf222-e503-4f35-9d9c-c419816272e3",
- "name": "app123",
- "secret": "asdasidjn9d"
}
Retrieve the details of an application by id.
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "name": "app123",
- "createdBy": "test@run.ai",
- "createdAt": "2020-01-01T00:00:00Z",
- "updatedAt": "2020-01-01T00:00:00Z",
- "enabled": true,
- "tenantId": 1234567890,
- "lastLogin": "2020-01-01T00:00:00Z",
- "id": "3434c-12323ab-4ce2ea6-b44fc-db344d"
}
Use to update the details of an application by id.
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "enabled": true
}
{- "code": 400,
- "message": "Required parameter is missing"
}
Use to delete an application by id.
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}
Use to regenerate the application secret by id.
Regenerated successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "secret": "189ej2ijd92fj092k049fk0"
}