Registration new user.
| username | string Unique username defined by user. |
| name | string User real name. |
string Working valid email. New registered user will receive validation token through this email. | |
| password | string |
{- "username": "string",
- "name": "string",
- "email": "string",
- "password": "string"
}Verify code sent by registration resource via registered email.
string Email address submited in registration resource. | |
| verification_code | string Unique code sent by registration operation to email. |
{- "email": "string",
- "verification_code": "string"
}Resource for authenticate user credentials by exchange username or email and password.
| username | string Use username or email |
| password | string |
{- "username": "string",
- "password": "string"
}{- "data": {
- "id": 1,
- "username": "mukhtarfauzi",
- "created_at": "2021-06-28T14:33:04Z",
- "updated_at": "2021-06-28T14:33:04Z",
- "last_login": "2021-06-28T14:33:26Z",
- "name": "Mukhtar fauzi",
- "status": "active",
- "credentials": [
- {
- "uuid": "ecf5d9e5-a9c3-4e26-86d1-681ec2f3df49",
- "type": "email",
- "user_key": "me@domain.com",
- "user_value": "",
- "status": "active",
- "last_accessed_date": "2021-06-28T14:33:04Z",
- "desc": "",
- "created_at": "2021-06-28T14:33:04Z",
- "updated_at": "2021-06-28T14:33:04Z"
}
], - "avatar": "8a9b5ce5af94cd428442ec789c84bb0e",
- "token": "xxxxxx-xxxxx"
}, - "result": true
}Fetch detail user information base on current JWT Token.
| Authorization | string Example: Bearer {JWTToken} |
{- "data": {
- "uuid": "1cb251c8-de46-4507-bd2f-44dca99fa3b7",
- "username": "aldebaran",
- "name": "Winifred Langworth",
- "status": "active",
- "last_login": "2022-02-22T13:41:30Z",
- "created_at": "2022-02-18T10:53:50Z",
- "organizations": [
- {
- "user_type": "users",
- "organization": {
- "uuid": "7dca5790-ca45-4f77-84d9-f7229b04f587",
- "name": "aldebaran",
- "icon": "",
- "slug": "aldebaran",
- "balance": 2000000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2022-02-18T10:53:50Z",
- "updated_at": "2022-02-18T10:29:30Z"
}, - "user_level": 1,
- "created_at": "2022-02-18T10:53:50Z",
- "updated_at": "2022-02-18T10:14:20Z",
- "is_default": true
}, - {
- "user_type": "users",
- "organization": {
- "uuid": "fe2500f6-b8e3-4f16-a9cf-9d9dd5eabdc7",
- "name": "new-org",
- "slug": "new-org",
- "balance": 2000000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2022-02-18T17:12:16Z",
- "updated_at": "2022-02-18T10:29:46Z",
- "vpc": null
}, - "user_level": 1,
- "created_at": "2022-02-18T17:12:16Z",
- "updated_at": "2022-02-18T10:14:20Z",
- "is_default": false
}
], - "projects": [
- {
- "uuid": "a9e7e28e-49ae-4feb-914c-460ddcc9733f",
- "created_at": "2022-02-18T10:53:50Z",
- "updated_at": "2022-02-18T10:12:43Z",
- "user_type": "users",
- "project": {
- "uuid": "5b4e0c2c-6ab6-4e17-bbda-9e176fa6c0ed",
- "created_at": "2022-02-18T10:53:50Z",
- "updated_at": "2022-02-18T10:53:50Z",
- "name": "Erdman2443",
- "slug": "Erdman2443",
}, - "user_level": 1,
- "is_default": false
}, - {
- "uuid": "c686cbae-c314-45d2-ae6a-fafeaf8060cf",
- "created_at": "2022-02-18T10:53:50Z",
- "updated_at": "2022-02-18T10:53:50Z",
- "user_type": "users",
- "project": {
- "uuid": "64952d36-d005-438d-aa7c-68959787c77a",
- "created_at": "2022-02-18T10:53:50Z",
- "updated_at": "2022-02-18T10:53:50Z",
- "name": "Simonis4714",
- "slug": "Simonis4714",
}, - "user_level": 1,
- "is_default": false
}, - {
- "uuid": "373e82c0-0fe9-4a5a-9333-4e3bd4befe35",
- "created_at": "2022-02-18T17:12:35Z",
- "updated_at": "2022-02-18T10:12:43Z",
- "user_type": "users",
- "project": {
- "uuid": "b36cca93-aaad-4ae4-a329-0e79bff80e1a",
- "created_at": "2022-02-18T17:12:35Z",
- "updated_at": "2022-02-18T17:12:35Z",
- "name": "Project-2022",
- "slug": "Project-2022",
}, - "user_level": 1,
- "is_default": true
}
], - "updated_at": "2022-02-18T10:53:50Z",
- "email": "myemail@domain.com",
- "kind": "account",
- "primary_organization": {
- "uuid": "7dca5790-ca45-4f77-84d9-f7229b04f587",
- "name": "aldebaran",
- "icon": "",
- "primary_project": null
}
}, - "result": true
}Registration new organization.
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| name | string Name of organization |
| icon | string base64 file |
Array of objects Member of organization |
{- "name": "string",
- "icon": "string",
- "organization_members": [
- {
- "user_uuid": "string",
- "user_level": 0
}
]
}{- "data": {
- "uuid": "f8b97fe6-181b-4d48-b5fc-9d2adf43aa67",
- "name": "teguh2",
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "organization_member": {
- "users": null,
- "user_level": 0,
- "is_default": false
}, - "member_count": 1,
- "created_at": "2022-03-04T14:41:27+07:00",
- "updated_at": "2022-03-04T14:41:27+07:00"
}, - "result": true
}Fetch organization information base on current user.
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "uuid": "cfde904a-04a4-43bc-b146-5e85a6d3022d",
- "name": "test_icons",
- "slug": "test_icon",
- "balance": 0,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "organization_member": {
- "user_level": 1,
- "users": null,
- "is_default": false
}, - "member_count": 2,
- "created_at": "2021-12-09T16:56:12+07:00",
- "updated_at": "2021-12-09T17:25:49+07:00"
}
], - "result": true
}Fetch detail organization information by uuid.
| uuid required | string UUID identifier string for the organization. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": {
- "uuid": "cfde904a-04a4-43bc-b146-5e85a6d3022d",
- "name": "test_icons",
- "slug": "test_icon",
- "balance": 0,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "organization_member": {
- "user_level": 1,
- "users": null,
- "is_default": false
}, - "member_count": 2,
- "created_at": "2021-12-09T16:56:12+07:00",
- "updated_at": "2021-12-09T17:25:49+07:00"
}, - "result": true
}Update organization information by uuid.
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| name | string Name of organization |
| icon | string base64 file |
{- "name": "string",
- "icon": "string"
}{- "data": {
- "uuid": "f8b97fe6-181b-4d48-b5fc-9d2adf43aa67",
- "name": "organization",
- "slug": "organization",
- "balance": 0,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "organization_member": {
- "user_level": 0,
- "is_default": false
}, - "member_count": 1,
- "updated_at": "2022-03-04T14:45:45+07:00"
}, - "result": true
}Set default organization
| uuid required | string UUID identifier string for the organization. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| organization_uuid | string Organization uuid |
{- "organization_uuid": "string"
}{- "data": {
- "users": {
- "uuid": "cb8648da-3bf6-4d32-b493-d152dbc3206c",
- "username": "aldebaran",
- "name": "Susana Hegmann",
- "status": "active",
- "last_login": "2022-01-13T09:55:29+07:00",
- "verification_code": "WC-cZKrV",
- "forgot_password_code": "IzyeQqOL",
- "forgot_password_code_valid_time": null,
- "created_at": "2021-12-29T11:26:13+07:00",
- "updated_at": "2021-12-29T11:26:13+07:00",
- "deleted_at": null
}, - "organization": {
- "uuid": "c5cb46cd-eeaa-4a44-a4bd-484777e453d5",
- "name": "root",
- "slug": "root",
- "balance": 1000000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "organization_member": {
- "users": null,
- "user_level": 0,
- "is_default": false
}, - "member_count": "2,",
- "created_at": "2021-12-29T11:26:13+07:00",
- "updated_at": "2022-01-04T10:37:33+07:00"
}, - "user_level": "1,",
- "created_at": "2021-12-29T11:26:13+07:00",
- "updated_at": "2022-01-13T03:30:50.376983Z",
- "is_default": "true,",
- "primary_project": {
- "uuid": "a3af4de1-69ac-49bc-bc7c-1eece2dfdbdf",
- "name": "main",
}, - "projects": [
- {
- "uuid": "a3af4de1-69ac-49bc-bc7c-1eece2dfdbdf",
- "created_at": "2021-12-29T11:26:13+07:00",
- "updated_at": "2021-12-29T11:26:13+07:00",
- "name": "main",
- "slug": "main",
}, - {
- "uuid": "2a67725e-af74-4b4a-8b44-9520b421807c",
- "created_at": "2021-12-29T11:26:13+07:00",
- "updated_at": "2022-01-03T06:18:35+07:00",
- "name": "production",
- "slug": "production",
}
]
}, - "result": true
}List member of organization
| uuid required | string UUID identifier string for the organization. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "user_id": "2352,",
- "users": {
- "id": 2352,
- "uuid": "3103dc83-6246-43bd-b8ca-7123380c39b1",
- "username": "teguh",
- "name": "teguh adin",
- "status": "active",
- "avatar": "localhost:9000/users/3103dc83-6246-43bd-b8ca-7123380c39b1.jpg",
- "created_at": "2021-12-01T14:22:53+07:00",
- "updated_at": "2021-12-01T15:02:04+07:00",
- "deleted_at": null
}, - "user_level": 1,
- "created_at": "2021-12-01T14:22:53+07:00",
- "updated_at": "2021-12-01T14:22:53+07:00",
- "is_default": true
}, - {
- "user_id": 2353,
- "users": {
- "id": 2353,
- "uuid": "458d8550-4cfe-45b9-8cbf-4bd83a8597cb",
- "username": "coba",
- "name": "Coba",
- "status": "inactive",
- "avatar": null,
- "created_at": "2021-12-02T10:56:27+07:00",
- "updated_at": "2021-12-02T10:56:27+07:00",
- "deleted_at": null
}, - "user_level": 2,
- "created_at": "2021-12-03T10:45:48+07:00",
- "updated_at": "2021-12-03T10:45:48+07:00",
- "is_default": false
}
], - "result": true
}| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| member_uuid | string User uuid |
{- "member_uuid": "string"
}{- "data": {
- "users": {
- "uuid": "a90b5650-767f-4a5e-834a-73640d0d495b",
- "username": "ikandar",
- "name": "Teguh adin nugroho",
- "status": "active",
- "last_login": "2022-03-04T13:52:30+07:00",
- "verification_code": "jRMwdvFr",
- "forgot_password_code": "viyIzd-H",
- "forgot_password_code_valid_time": null,
- "created_at": "2021-09-13T21:40:15+07:00",
- "updated_at": "2022-03-02T11:41:53+07:00",
- "deleted_at": null
}, - "organization": {
- "uuid": "f8b97fe6-181b-4d48-b5fc-9d2adf43aa67",
- "name": "organization",
- "slug": "organization",
- "balance": 0,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "organization_member": {
- "users": null,
- "user_level": 0,
- "is_default": false
}, - "member_count": 2,
- "created_at": "2022-03-04T14:41:27+07:00",
- "updated_at": "2022-03-04T14:45:45+07:00"
}, - "user_level": "1,",
- "created_at": "2022-03-04T14:41:27+07:00",
- "updated_at": "2022-03-04T14:41:27+07:00",
- "is_default": "false,",
- "primary_project": null,
- "projects": null
}, - "result": true
}Add, edit, or delete member from organization
| uuid required | string UUID identifier string for the organization. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
Array of objects Organization uuid | |
Array of objects Organization uuid | |
Array of objects Organization uuid |
{- "organization_members_added": [
- {
- "user_uuid": "string",
- "user_level": 0
}
], - "organization_members_updated": [
- {
- "user_uuid": "string",
- "user_level": 0
}
], - "organization_members_deleted": [
- {
- "user_uuid": "string"
}
]
}{- "data": {
- "users": {
- "uuid": "a90b5650-767f-4a5e-834a-73640d0d495b",
- "username": "ikandar",
- "name": "Teguh adin nugroho",
- "status": "active",
- "last_login": "2022-03-04T13:52:30+07:00",
- "verification_code": "jRMwdvFr",
- "forgot_password_code": "viyIzd-H",
- "forgot_password_code_valid_time": null,
- "created_at": "2021-09-13T21:40:15+07:00",
- "updated_at": "2022-03-02T11:41:53+07:00",
- "deleted_at": null
}, - "organization": {
- "uuid": "f8b97fe6-181b-4d48-b5fc-9d2adf43aa67",
- "name": "organization",
- "slug": "organization",
- "balance": 0,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "organization_member": {
- "users": null,
- "user_level": 0,
- "is_default": false
}, - "member_count": 1,
- "created_at": "2022-03-04T14:41:27+07:00",
- "updated_at": "2022-03-04T14:45:45+07:00"
}, - "user_level": 1,
- "created_at": "2022-03-04T14:41:27+07:00",
- "updated_at": "2022-03-04T14:41:27+07:00",
- "is_default": false,
- "primary_project": null,
- "projects": null
}, - "result": true
}| organization_uuid required | string UUID identifier string for the organization. |
| uuid required | string UUID identifier string for the member. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": "deleted",
- "result": true
}Registration new projects.
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| name | string Name of projects |
| icon | string base64 file |
| organization_uuid | string Organization uuid |
Array of objects Member of projects |
{- "name": "string",
- "icon": "string",
- "organization_uuid": "string",
- "project_members": [
- {
- "user_uuid": "string",
- "user_level": 0
}
]
}{- "data": null,
- "result": true
}Fetch projects information base on current user.
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "uuid": "a52ee78b-bcc4-4a30-913c-7a31c3d59794",
- "created_at": "2021-09-13T10:20:56+07:00",
- "updated_at": "2021-12-31T16:46:48+07:00",
- "name": "main",
- "slug": "main",
- "organization": {
- "uuid": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "name": "root",
- "icon": "localhost:9000/organizations/d119b85d-5328-4862-b7e7-44a8db37fbed.png",
- "slug": "root",
- "balance": 1500000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 1365860,
- "tax_percent": 0,
- "created_at": "2021-09-13T10:20:55+07:00",
- "updated_at": "2022-02-09T17:27:32+07:00"
}, - "icon": "data.storage.awanio.com/projects/a52ee78b-bcc4-4a30-913c-7a31c3d59794.jpg",
- "project_member": {
- "uuid": "be8a9d12-9e7f-4c86-a3f9-347b6a5a4c33",
- "created_at": "2021-09-13T10:20:56+07:00",
- "updated_at": "2022-02-16T10:58:11+07:00",
- "user_type": "users",
- "user_level": 1,
- "is_default": true
}
}
], - "result": true
}Fetch detail projects information by uuid.
| uuid required | string UUID identifier string for the project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": {
- "uuid": "a52ee78b-bcc4-4a30-913c-7a31c3d59794",
- "created_at": "2021-09-13T10:20:56+07:00",
- "updated_at": "2021-12-31T16:46:48+07:00",
- "name": "main",
- "slug": "main",
- "organization": {
- "uuid": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "name": "root",
- "icon": "localhost:9000/organizations/d119b85d-5328-4862-b7e7-44a8db37fbed.png",
- "slug": "root",
- "balance": 1500000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 1365860,
- "tax_percent": 0,
- "created_at": "2021-09-13T10:20:55+07:00",
- "updated_at": "2022-02-09T17:27:32+07:00"
}, - "icon": "data.storage.awanio.com/projects/a52ee78b-bcc4-4a30-913c-7a31c3d59794.jpg"
}, - "result": true
}Update projects information by uuid.
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| name | string Name of organization |
| organization_uuid | string Organization uuid |
| icon | string base64 file |
Array of objects Add member of projects | |
Array of objects Update member of projects | |
Array of objects Delete member of projects |
{- "name": "string",
- "organization_uuid": "string",
- "icon": "string",
- "project_member_added": [
- {
- "user_uuid": "string",
- "user_level": 0
}
], - "project_member_updated": [
- {
- "user_uuid": "string",
- "user_level": 0
}
], - "project_member_deleted": [
- {
- "user_uuid": "string"
}
]
}{- "data": null,
- "result": true
}Set project as primary.
| uuid required | string UUID identifier string for the project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": {
- "uuid": "be8a9d12-9e7f-4c86-a3f9-347b6a5a4c33",
- "created_at": "2021-09-13T10:20:56+07:00",
- "updated_at": "2022-02-16T03:58:10.8503Z",
- "user_type": "users",
- "user": {
- "uuid": "a90b5650-767f-4a5e-834a-73640d0d495b",
- "username": "jhon",
- "name": "Jhon Doe"
}, - "user_level": 1,
- "is_default": true
}, - "result": true
}Release the project as primary..
| uuid required | string UUID identifier string for the project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": {
- "uuid": "be8a9d12-9e7f-4c86-a3f9-347b6a5a4c33",
- "created_at": "2021-09-13T10:20:56+07:00",
- "updated_at": "2022-03-01T07:02:28.405631Z",
- "user_type": "users",
- "user_level": 1,
- "is_default": false
}, - "result": true
}Add member to a project.
| uuid required | string UUID identifier string for the project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| member_uuid | string user uuid |
{- "member_uuid": "string"
}{- "data": null,
- "result": true
}Fetch user base on project.
| uuid required | string UUID identifier string for the project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "uuid": "b91092d0-04de-40bc-9646-63ac1dcacbf1",
- "created_at": "2021-12-09T09:58:07+07:00",
- "updated_at": "2021-12-09T09:58:07+07:00",
- "user_type": "users",
- "user": {
- "CreatedAt": "0001-01-01T00:00:00Z",
- "UpdatedAt": "0001-01-01T00:00:00Z",
- "DeletedAt": null,
- "uuid": "3103dc83-6246-43bd-b8ca-7123380c39b1",
- "username": "teguh",
- "name": "teguh adin",
- "status": "active",
- "last_login": "2021-12-13T15:11:29+07:00",
- "created_at": "2021-12-01T14:22:53+07:00",
- "organizations": null,
- "projects": null,
- "updated_at": "2021-12-01T15:02:04+07:00",
- "avatar": "localhost:9000/users/3103dc83-6246-43bd-b8ca-7123380c39b1.jpg",
- "email": null,
- "kind": "account"
}, - "project": {
- "uuid": "07caa92a-8be1-49d8-88a6-e0bac47ddff6",
- "created_at": "2021-12-09T09:58:07+07:00",
- "updated_at": "2021-12-09T10:16:52+07:00",
- "name": "my-project-name12",
- "slug": "my-project-name12",
- "icon": "localhost:9000/projects/07caa92a-8be1-49d8-88a6-e0bac47ddff6.png"
}, - "user_level": 1
}, - {
- "uuid": "bab3efe8-b4f7-4ce9-830c-bf448e2175f3",
- "created_at": "2021-12-09T10:16:52+07:00",
- "updated_at": "2021-12-09T10:16:52+07:00",
- "user_type": "users",
- "user": {
- "CreatedAt": "0001-01-01T00:00:00Z",
- "UpdatedAt": "0001-01-01T00:00:00Z",
- "DeletedAt": null,
- "uuid": "a90b5650-767f-4a5e-834a-73640d0d495b",
- "username": "ikandar",
- "name": "Iskandar Soesman",
- "status": "active",
- "last_login": "2021-12-13T11:39:43+07:00",
- "created_at": "2021-09-13T21:40:15+07:00",
- "organizations": null,
- "projects": null,
- "updated_at": "2021-09-13T21:40:15+07:00",
- "avatar": null,
- "email": null,
- "kind": "account"
}, - "project": {
- "uuid": "07caa92a-8be1-49d8-88a6-e0bac47ddff6",
- "created_at": "2021-12-09T09:58:07+07:00",
- "updated_at": "2021-12-09T10:16:52+07:00",
- "name": "my-project-name12",
- "slug": "my-project-name12",
- "icon": "localhost:9000/projects/07caa92a-8be1-49d8-88a6-e0bac47ddff6.png"
}, - "user_level": 2
}
], - "result": true
}Chage user level from a project.
| uuid required | string UUID identifier string for the project. |
| useruuid required | string UUID identifier string for the member. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| user_level | integer 1 for admin and 2 for member |
{- "user_level": 0
}{- "data": "level changed",
- "result": true
}Release the member from a project..
| uuid required | string UUID identifier string for the project. |
| useruuid required | string UUID identifier string for the member. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": "deleted",
- "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization required | string Example: Bearer {JWTToken} |
| authentication_type | object Define how to access the VM. Either via standard username and password login or via ssh public key. |
| catalogue_uuid | string UUID string taken from Catalogues resource endpoint. |
| instance_type_uuid | string UUID string taken from Pricing resource endpoint. |
| organization_uuid | string UUID string identifier where this Virtual Machine belongs to. |
| title | string |
| hostname | string |
| with_external_ip | boolean |
| reserve_external_ip | object This property only apply if value of with_external_ip true. |
{- "authentication_type": {
- "id": 1,
- "key": "awanio",
- "value": "awanio"
}, - "catalogue_uuid": "xxx-xxx-xxx",
- "instance_type_uuid": "xxx-xxx-xxx",
- "organization_uuid": "xxx-xxx-xxx",
- "title": "my-vm-title",
- "with_external_ip": true,
- "reserve_external_ip": {
- "is_new": true,
- "reserved": false
}, - "hostname": "my-vm-hostname"
}{- "error": "INVALID CREDENTIALS",
- "error_code": "401-3",
- "message": "WRONG USERNAME / PASSWORD",
- "result": false
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "uuid": "5a1efa11-67b0-401a-8524-eafef73590d3",
- "title": "ubuntu",
- "catalogue": {
- "uuid": "8caafdaa-4505-4ebe-a455-2da86008b13f",
- "slug": "ubuntu-server-20-04",
- "name": "Ubuntu Server 20.04 LTS",
- "type": "os",
- "public_access": false,
- "min_storage_gb": 15,
- "group": "Ubuntu",
- "version": null,
- "created_at": "2021-11-01T10:35:17+07:00",
- "updated_at": "2021-11-01T10:35:17+07:00",
- "service": "compute",
- "info": null,
- "visibility": "public"
}, - "ip_address": null,
- "pricing": {
- "uuid": "43946e7a-bb60-4a9f-ba63-b13a7f83f197",
- "instance_type": "s-b",
- "suitable_for": "vm",
- "availability": "available",
- "plans_type": "standard",
- "vcpu_core": 2,
- "ram_mb": 1024,
- "storage_gb": 20,
- "transfer_tb": 1,
- "price_per_month": 100000,
- "price_per_hour": 100,
- "price_per_year": 0,
- "user_id": 1,
- "created_at": "2021-09-13T10:20:56+07:00",
- "updated_at": "2021-09-13T10:20:56+07:00",
- "deleted_at": null,
- "pricing_unit": "hour",
- "price_per_unit": 100,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": null,
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0
}, - "volumes": [
- {
- "source_type": "vm",
- "volume": {
- "uuid": "6d5d5ec7-5d39-4595-8dd7-4467630ab5b6",
- "is_used": true,
- "size_gb": 20,
- "label": "awanio-hostname",
- "mount_point": "/",
- "PVCName": "6d5d5ec7-5d39-4595-8dd7-4467630ab5b6",
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:27:43+07:00",
- "project": null,
- "instance_has_volumes": null,
- "volume_type": "boot"
}, - "tag": "DataVolume",
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:27:43+07:00",
- "source": {
- "uuid": "5a1efa11-67b0-401a-8524-eafef73590d3",
- "namespace": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "title": "ubuntu",
- "mac_address": "26:71:1c:0e:27:80",
- "hostname": "awanio-hostname",
- "tags": null,
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:29:15+07:00",
- "deleted_at": null
}
}, - {
- "source_type": "vm",
- "volume": {
- "uuid": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "is_used": false,
- "size_gb": 2,
- "label": "test-volume",
- "mount_point": null,
- "PVCName": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "created_at": "2022-02-22T18:00:57+07:00",
- "updated_at": "2022-02-22T18:00:57+07:00",
- "project": null,
- "instance_has_volumes": null,
- "volume_type": "external"
}, - "tag": "AdditionalVolume",
- "created_at": "2022-02-22T18:01:50+07:00",
- "updated_at": "2022-02-22T18:01:50+07:00",
- "source": {
- "uuid": "5a1efa11-67b0-401a-8524-eafef73590d3",
- "namespace": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "title": "ubuntu",
- "mac_address": "26:71:1c:0e:27:80",
- "hostname": "awanio-hostname",
- "tags": null,
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:29:15+07:00",
- "deleted_at": null
}
}
], - "mac_address": "26:71:1c:0e:27:80",
- "hostname": "awanio-hostname",
- "tags": null,
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:29:15+07:00",
- "meta": {
- "phase": "running",
- "private_ip_address": "10.0.45.18"
}, - "status": "running",
- "private_ip_address_v4": "10.0.45.18",
- "disk_size_gb": 20,
- "transfer_tb": 1,
- "vcpu_core": 2,
- "ram_mb": 1024
}
], - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| vmuuid required | string UUID identifier string for the vm. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": {
- "uuid": "5a1efa11-67b0-401a-8524-eafef73590d3",
- "title": "ubuntu",
- "catalogue": {
- "uuid": "8caafdaa-4505-4ebe-a455-2da86008b13f",
- "slug": "ubuntu-server-20-04",
- "name": "Ubuntu Server 20.04 LTS",
- "type": "os",
- "public_access": false,
- "min_storage_gb": 15,
- "group": "Ubuntu",
- "version": null,
- "created_at": "2021-11-01T10:35:17+07:00",
- "updated_at": "2021-11-01T10:35:17+07:00",
- "service": "compute",
- "info": null,
- "visibility": "public"
}, - "ip_address": {
- "type": "array"
}, - "pricing": {
- "uuid": "43946e7a-bb60-4a9f-ba63-b13a7f83f197",
- "instance_type": "s-b",
- "suitable_for": "vm",
- "availability": "available",
- "plans_type": "standard",
- "vcpu_core": 2,
- "ram_mb": 1024,
- "storage_gb": 20,
- "transfer_tb": 1,
- "price_per_month": 100000,
- "price_per_hour": 100,
- "price_per_year": 0,
- "user_id": 1,
- "created_at": "2021-09-13T10:20:56+07:00",
- "updated_at": "2021-09-13T10:20:56+07:00",
- "deleted_at": null,
- "pricing_unit": "hour",
- "price_per_unit": 100,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": null,
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0
}, - "volumes": [
- {
- "source_type": "vm",
- "volume": {
- "uuid": "6d5d5ec7-5d39-4595-8dd7-4467630ab5b6",
- "is_used": true,
- "size_gb": 20,
- "label": "awanio-hostname",
- "mount_point": "/",
- "PVCName": "6d5d5ec7-5d39-4595-8dd7-4467630ab5b6",
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:27:43+07:00",
- "project": null,
- "instance_has_volumes": null,
- "volume_type": "boot"
}, - "tag": "DataVolume",
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:27:43+07:00",
- "source": {
- "uuid": "5a1efa11-67b0-401a-8524-eafef73590d3",
- "namespace": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "title": "ubuntu",
- "mac_address": "26:71:1c:0e:27:80",
- "hostname": "awanio-hostname",
- "tags": null,
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:29:15+07:00",
- "deleted_at": null
}
}, - {
- "source_type": "vm",
- "volume": {
- "uuid": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "is_used": false,
- "size_gb": 2,
- "label": "test-volume",
- "mount_point": null,
- "PVCName": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "created_at": "2022-02-22T18:00:57+07:00",
- "updated_at": "2022-02-22T18:00:57+07:00",
- "project": null,
- "instance_has_volumes": null,
- "volume_type": "external"
}, - "tag": "AdditionalVolume",
- "created_at": "2022-02-22T18:01:50+07:00",
- "updated_at": "2022-02-22T18:01:50+07:00",
- "source": {
- "uuid": "5a1efa11-67b0-401a-8524-eafef73590d3",
- "namespace": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "title": "ubuntu",
- "mac_address": "26:71:1c:0e:27:80",
- "hostname": "awanio-hostname",
- "tags": null,
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:29:15+07:00",
- "deleted_at": null
}
}
], - "mac_address": "26:71:1c:0e:27:80",
- "hostname": "awanio-hostname",
- "tags": null,
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:29:15+07:00",
- "meta": {
- "phase": "running",
- "private_ip_address": null
}, - "status": "running",
- "private_ip_address_v4": "10.0.45.18",
- "disk_size_gb": 20,
- "transfer_tb": 1,
- "vcpu_core": 2,
- "ram_mb": 1024,
- "group_type": "organization",
- "group_uuid": "81d4c6b6-dcea-42f6-8152-03de276d6dab"
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
object Authentication of baremetal. | |
| catalogue_uuid | string |
| organization_uuid | string |
| title | string |
| hostname | string |
| compute_same_config | integer |
| with_external_ip | boolean |
object | |
| machine_name | string |
| billing_period | string |
{- "authentication_type": {
- "id": 0,
- "key": "string",
- "value": "string"
}, - "catalogue_uuid": "string",
- "organization_uuid": "string",
- "title": "string",
- "hostname": "string",
- "compute_same_config": 0,
- "with_external_ip": true,
- "reserve_external_ip": {
- "is_new": true,
- "reserved": true
}, - "machine_name": "string",
- "billing_period": "string"
}{- "data": {
- "title": "centos",
- "OrganizationID"": "483,",
- "ProjectID"": null,
- "Catalogue": {
- "uuid": "d8576864-d8ec-4ab6-83aa-035a233c3ffa",
- "slug": "centos/centos70",
- "name": "centos/centos70",
- "type": "os",
- "logo"": null,
- "public_access"": false,
- "min_storage_gb"": 10,
- "group": "baremetal",
- "version"": null,
- "created_at": "2021-09-13T10:21:04+07:00",
- "updated_at": "2021-09-13T10:21:04+07:00",
- "service": "baremetal",
- "info": null,
- "visibility": "public"
}, - "UserID": 457,
- "compute_same_config": "1,",
- "organization_uuid": "ffac6c97-a5be-4c26-85fc-50aaf844fb00",
- "project_uuid"": null,
- "catalogue_uuid": "d8576864-d8ec-4ab6-83aa-035a233c3ffa",
- "authentication_type": {
- "id": "1,",
- "key": "root",
- "value": "awanio"
}, - "with_external_ip": false,
- "reserve_external_ip": {
- "is_new": true,
- "uuid": "00000000-0000-0000-0000-000000000000",
- "reserved": false
}, - "hostname": "awanio-hostname",
- "machine_name": "Dell.c3c206dc-8596-4cff-a421-935520329caa",
- "tags"": null,
- "ip_address_id"": 0,
- "billing_period": "price_per_month",
- "ip_address"": 0
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "uuid": "5aba4c8d-eba8-4231-9fdc-f6bf66cf0672",
- "organization": {
- "uuid": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "name": "root",
- "icon": "localhost:9000/organizations/d119b85d-5328-4862-b7e7-44a8db37fbed.png",
- "slug": "root",
- "balance": 1398000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 1365860,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2021-09-13T10:20:55+07:00",
- "updated_at": "2022-03-11T15:07:47+07:00"
}, - "projects": null,
- "user": null,
- "title": "centos",
- "authentication_type": null,
- "catalogue": {
- "uuid": "d8576864-d8ec-4ab6-83aa-035a233c3ffa",
- "slug": "centos/centos70",
- "name": "centos/centos70",
- "type": "os",
- "logo": null,
- "public_access": "false,",
- "min_storage_gb": 10,
- "group": "baremetal",
- "version": null,
- "created_at": "2021-09-13T10:21:04+07:00",
- "updated_at": "2021-09-13T10:21:04+07:00",
- "service": "baremetal",
- "info": null,
- "visibility": "public"
}, - "machine": {
- "uuid": "c5056fc2-74a4-4047-9b63-d973cbe7b223",
- "name": "Dell",
- "domain": "maas",
- "architecture": "amd64/generic",
- "user_id": 3,
- "power_options_id": 1,
- "minimum_kernel": null,
- "zone": "asia/jakarta",
- "resource_pool": "default",
- "mac_address": null,
- "value_power_options": {
- "power_pass": "ADMIN",
- "power_user": "ADMIN",
- "power_address": "127.0.0.1",
- "privilege_level": "OPERATOR"
}, - "rack_controller_id": 2,
- "system_id": "dpqwws",
- "status_name": "Ready",
- "pricing_id": 23,
- "pricing": {
- "uuid": "c3c206dc-8596-4cff-a421-935520329caa",
- "instance_type": "bh-a",
- "suitable_for": "baremetal",
- "availability": "available",
- "plans_type": "standard",
- "vcpu_core": 1,
- "ram_mb": 256,
- "storage_gb": 10,
- "transfer_tb": 1,
- "price_per_month": 58000,
- "price_per_hour": 80,
- "price_per_year": 0,
- "user_id": 3,
- "created_at": "2021-09-13T10:22:21+07:00",
- "updated_at": "2021-09-13T10:22:21+07:00",
- "deleted_at": null,
- "pricing_unit": "hour",
- "price_per_unit": 80,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": null,
- "discount_per_three_month": null,
- "discount_per_six_month": null,
- "discount_per_year": null
}, - "machine_status": "available",
- "created_at": "2021-09-13T10:22:21+07:00",
- "updated_at": "2022-03-24T15:24:16+07:00"
}, - "hostname": "awanio-hostname",
- "tags": null,
- "ip_private": null,
- "ip_address": [ ],
- "created_at": "2022-02-07T17:32:16+07:00",
- "updated_at": "2022-03-24T15:24:16+07:00",
- "deleted_at": null
}
], - "meta": {
- "pagination": {
- "per_page": 10,
- "page": 1,
- "total": 2,
- "last_page": 1
}
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": {
- "uuid": "57e0f06c-6cf9-4ed3-8c45-714255d7500a",
- "organization": {
- "uuid": "d119b85d-5328-4862-b7e7-44a8db37fbed",
- "name": "root",
- "icon": null,
- "slug": "root",
- "balance": 100000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 1365860,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2021-09-13T10:20:55+07:00",
- "updated_at": "2021-09-26T01:35:57+07:00"
}, - "user": null,
- "title": "ubuntu",
- "authentication_type": null,
- "catalogue": {
- "uuid": "52aa38c4-b6bb-4ea0-8ca0-bd6aa7c92b91",
- "slug": "ubuntu/impish-amd64",
- "name": "ubuntu/impish",
- "type": "os",
- "public_access": false,
- "min_storage_gb": 10,
- "group": "baremetal",
- "version": null,
- "created_at": "2021-09-13T10:21:04+07:00",
- "updated_at": "2021-09-13T10:21:04+07:00",
- "service": "baremetal",
- "info": null,
- "visibility": "public"
}, - "machine": {
- "uuid": "c5056fc2-74a4-4047-9b63-d973cbe7b223",
- "name": "Dell",
- "domain": "maas",
- "architecture": "amd64/generic",
- "user_id": 3,
- "power_options_id": 1,
- "minimum_kernel": null,
- "zone": "asia/jakarta",
- "resource_pool": "default",
- "mac_address": null,
- "value_power_options": {
- "power_pass": "ADMIN",
- "power_user": "ADMIN",
- "power_address": "127.0.0.1",
- "privilege_level": "OPERATOR"
}, - "rack_controller_id": 2,
- "system_id": "tqrry8",
- "status_name": "Deployed",
- "pricing_id": 23,
- "pricing": {
- "uuid": "c3c206dc-8596-4cff-a421-935520329caa",
- "instance_type": "bh-a",
- "suitable_for": "baremetal",
- "availability": "available",
- "plans_type": "standard",
- "vcpu_core": 1,
- "ram_mb": 256,
- "storage_gb": 10,
- "transfer_tb": 1,
- "price_per_month": 58000,
- "price_per_hour": 80,
- "user_id": "3,",
- "created_at": "2021-09-13T10:22:21+07:00",
- "updated_at": "2021-09-13T10:22:21+07:00",
- "PricingUnit": "hour",
- "PricePerUnit": 80,
- "MaximumFreeUsage": 0
}, - "machine_status": "unavailable",
- "created_at": "2021-09-13T10:22:21+07:00",
- "updated_at": "2021-10-29T15:04:33+07:00"
}, - "hostname": "awanio-hostname",
- "tags": null,
- "ip_address_id": 633,
- "ip_address": {
- "id": 633,
- "address": 3232236020,
- "cidr": 24,
- "gateway": 1729094398,
- "created_at": "2021-10-06T21:23:52+07:00",
- "updated_at": "2021-10-06T21:23:52+07:00",
- "deleted_at": null,
- "address_string": "192.168.1.244",
- "gateway_string": "103.15.226.254",
- "private_address": 3232236020,
- "private_address_string": "192.168.1.244",
- "pricing_id": 1446,
- "pricing": {
- "uuid": "00000000-0000-0000-0000-000000000000",
- "instance_type": null,
- "suitable_for": null,
- "availability": null,
- "plans_type": null,
- "vcpu_core": 0,
- "ram_mb": 0,
- "storage_gb": 0,
- "transfer_tb": 0,
- "price_per_month": 0,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 0,
- "created_at": "0001-01-01T00:00:00Z",
- "updated_at": "0001-01-01T00:00:00Z",
- "PricingUnit": null,
- "PricePerUnit": 0,
- "MaximumFreeUsage": 0
}, - "active": true,
- "suitable_for": "baremetal"
}, - "ip_address_machine": null,
- "status": null,
- "created_at": "2021-10-29T14:51:31+07:00",
- "updated_at": "2021-10-29T14:51:31+07:00",
- "deleted_at": null
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": "deleted",
- "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": "Deployed",
- "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "uuid": "00000000-0000-0000-0000-000000000000",
- "name": "Intel Xeon 2 x 2620 v4",
- "domain": null,
- "architecture": null,
- "user_id"": 0,
- "power_options_id"": 0,
- "minimum_kernel": null,
- "zone": null,
- "resource_pool": null,
- "mac_address"": null,
- "value_power_options"": null,
- "rack_controller_id"": 0,
- "system_id"": null,
- "status_name"": null,
- "pricing_id"": 34,
- "pricing"": {
- "uuid": "6d5f6865-c7c5-42ba-ae3c-b312856576f6",
- "instance_type": "Paket-3",
- "suitable_for": "baremetal",
- "availability": "available",
- "plans_type": "high",
- "vcpu_core"": 32,
- "ram_mb"": 262144,
- "storage_gb"": 2000,
- "transfer_tb"": 0,
- "price_per_month"": 4000000,
- "price_per_hour"": 5556,
- "price_per_year"": 44160000,
- "user_id"": 1,
- "created_at": "2022-01-20T14:59:55Z",
- "updated_at": "2022-01-20T13:58:30Z",
- "deleted_at"": null,
- "pricing_unit": "hour",
- "price_per_unit"": 5556,
- "maximum_free_usage"": 0,
- "price_per_three_month"": 12000000,
- "price_per_six_month"": 24000000,
- "meta_storage"": [
- {
- "disk": 1,
- "disk_type": "sas",
- "plans_type": null,
- "storage_gb"": 1000
}, - {
- "disk_type": "sas",
- "plans_type": null,
- "storage_gb"": 1000
}
], - "discount_per_three_month": null,
- "discount_per_six_month": null,
- "discount_per_year": null
}, - "machine_status": null,
- "created_at": "0001-01-01T00:00:00Z",
- "updated_at": "0001-01-01T00:00:00Z"
}
], - "result": true
}| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "uuid": "0f0f9316-a676-48bf-acd2-afe87f3d9cd0",
- "slug": "ubuntu-server-20-04",
- "name": "Ubuntu Server 20.04 LTS",
- "type": "os",
- "public_access": false,
- "min_storage_gb": 10,
- "group": "Ubuntu",
- "version": null,
- "created_at": "2021-10-10T21:27:11Z",
- "updated_at": "2021-10-10T21:27:11Z",
- "service": "compute",
- "info": null,
- "visibility": "public"
}, - {
- "uuid": "2b3215c8-837d-4c74-8c29-9e0188599d0c",
- "slug": "ubuntu-server-18-04",
- "name": "Ubuntu Server 18.04 LTS",
- "type": "os",
- "public_access": false,
- "min_storage_gb": 10,
- "group": "Ubuntu",
- "version": null,
- "created_at": "2021-10-10T21:27:11Z",
- "updated_at": "2021-10-10T21:27:11Z",
- "service": "compute",
- "info": null,
- "visibility": "public"
}
], - "result": true
}| suitable_for | string Example: suitable_for=vm, baremetal Filter by resource type |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "uuid": "2ade480f-ba81-4969-81f2-a807a30ef310",
- "instance_type": "v-1",
- "suitable_for": "volume",
- "availability": "available",
- "plans_type": "ssd",
- "vcpu_core": 0,
- "ram_mb": 0,
- "storage_gb": 10,
- "transfer_tb": 0,
- "price_per_month": 58000,
- "price_per_hour": 10,
- "price_per_year": 0,
- "user_id": "1,",
- "created_at": "2021-09-13T10:20:56+07:00",
- "updated_at": "2021-09-13T10:20:56+07:00",
- "deleted_at": null,
- "pricing_unit": "hour",
- "price_per_unit": 10,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": null,
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0
}, - {
- "uuid": "6d89209e-7112-4df4-a936-4d753efa2342",
- "instance_type": "v-1",
- "suitable_for": "volume",
- "availability": "available",
- "plans_type": "ssd",
- "vcpu_core": 0,
- "ram_mb": 0,
- "storage_gb": 10,
- "transfer_tb": 0,
- "price_per_month": 58000,
- "price_per_hour": 10,
- "price_per_year": 0,
- "user_id": "2,",
- "created_at": "2021-09-13T10:22:20+07:00",
- "updated_at": "2021-09-13T10:22:20+07:00",
- "deleted_at": null,
- "pricing_unit": "hour",
- "price_per_unit": 10,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": null,
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0
}
], - "result": true
}| uuid required | string UUID identifier string for the organization. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| code | string Voucher code. |
{- "code": "string"
}{- "data": {
- "new_balance": 100000,
- "result": true,
- "status": "Voucher was successfully redeemed"
}, - "result": true
}| uuid required | string UUID identifier string for the organization. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| label | string |
| size | integer |
{- "label": "string",
- "size": 0
}{- "data": {
- "uuid": "2c382fe4-d69d-49f4-a424-1f42e495097a",
- "created_at": "2022-03-04T13:57:21Z",
- "updated_at": "2022-03-04T13:57:21Z",
- "vpc_ip": {
- "uuid": "c8421af8-0b9e-43e9-b449-7392b962a093",
- "created_at": "2022-03-01T23:07:13Z",
- "updated_at": "2022-03-04T13:57:22Z",
- "first_address_int": 184406017,
- "first_address": "10.253.208.1",
- "last_address_int": 184410110,
- "last_address": "10.253.223.254",
- "cidr": 20,
- "label": "10.253.208.0/20"
}, - "label": "test"
}, - "result": true
}| uuid required | string UUID identifier string for the organization. |
| page | string Example: page=1 Pagination |
| order_by | string Example: order_by=asc, desc Sort data |
| per_page | string Example: per_page=5,10,15 Amount of data in one page |
| search | string Example: search=id Find spesific data |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "uuid": "26502002-f98c-4211-9e96-9f7eb3206c41",
- "ip_address_id": 7,
- "ip_address": {
- "address": 1729094186,
- "cidr": 24,
- "gateway": 1729094398,
- "created_at": "2022-03-02T03:38:43Z",
- "updated_at": "2022-03-02T03:38:43Z",
- "deleted_at": null,
- "address_string": "103.15.226.42",
- "gateway_string": "103.15.226.254",
- "private_address": 1729094186,
- "private_address_string": "103.15.226.42",
- "active": true,
- "suitable_for": "all"
}, - "organization_id": 1,
- "organization": {
- "uuid": "4ba3b27f-bed7-4d9b-8e93-7802a4c30010",
- "name": "root",
- "icon": null,
- "slug": "root",
- "created_at": "2022-03-01T22:04:33Z",
- "updated_at": "2022-03-02T13:34:56Z"
}, - "tags": [
- "tes"
], - "created_at": "2022-03-04T07:30:37Z",
- "updated_at": "2022-03-04T07:30:37Z"
}, - {
- "uuid": "da21a78c-bd39-4e92-b350-fe32a2f06932",
- "ip_address_id": 1,
- "ip_address": {
- "address": 3232236016,
- "cidr": 24,
- "gateway": 1729094398,
- "created_at": "2022-03-01T22:04:33Z",
- "updated_at": "2022-03-01T22:04:33Z",
- "deleted_at": null,
- "address_string": "192.168.1.240",
- "gateway_string": "103.15.226.254",
- "private_address": 3232236016,
- "private_address_string": "192.168.1.240",
- "active": true,
- "suitable_for": "all"
}, - "organization_id": 1,
- "organization": {
- "uuid": "4ba3b27f-bed7-4d9b-8e93-7802a4c30010",
- "name": "root",
- "icon": null,
- "slug": "root",
- "created_at": "2022-03-01T22:04:33Z",
- "updated_at": "2022-03-02T13:34:56Z"
}, - "tags": [
- "test"
], - "created_at": "2022-03-04T07:20:38Z",
- "updated_at": "2022-03-04T07:20:38Z"
}
], - "meta": {
- "pagination": {
- "per_page": 5,
- "page": "1,",
- "total": 2,
- "last_page": 1
}
}, - "result": true
}| organization_uuid required | string UUID identifier string for the organization. |
| uuid required | string UUID identifier string for the pvc object. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": "Successfully delete vpc",
- "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| group-uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "uuid": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "is_used": false,
- "size_gb": 2,
- "label": "test-volume",
- "mount_point": null,
- "PVCName": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "created_at": "2022-02-22T18:00:57+07:00",
- "updated_at": "2022-02-22T18:00:57+07:00",
- "project": null,
- "instance_has_volumes": null,
- "volume_type": "external"
}, - {
- "uuid": "6d5d5ec7-5d39-4595-8dd7-4467630ab5b6",
- "is_used": true,
- "size_gb": 20,
- "label": "awanio-hostname",
- "mount_point": "/",
- "PVCName": "6d5d5ec7-5d39-4595-8dd7-4467630ab5b6",
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:27:43+07:00",
- "project": null,
- "instance_has_volumes": null,
- "volume_type": "boot"
}
], - "result": true
}| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| organization_uuid | string |
| pricing_uuid | string |
| label | string |
{- "organization_uuid": "string",
- "pricing_uuid": "string",
- "label": "string"
}{- "data": {
- "uuid": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "organization": {
- "uuid": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "name": "root",
- "icon": "localhost:9000/organizations/d119b85d-5328-4862-b7e7-44a8db37fbed.png",
- "slug": "root",
- "balance": 1500000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 1365860,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2021-09-13T10:20:55+07:00",
- "updated_at": "2022-02-09T17:27:32+07:00"
}, - "user": {
- "uuid": "a90b5650-767f-4a5e-834a-73640d0d495b",
- "username": "ikandar",
- "name": "Teguh adin nugroho",
- "status": "active",
- "avatar": null
}, - "pricing": {
- "uuid": "2ade480f-ba81-4969-81f2-a807a30ef310",
- "instance_type": "v-1",
- "suitable_for": "volume",
- "availability": "available",
- "plans_type": "ssd",
- "vcpu_core": 0,
- "ram_mb": 0,
- "storage_gb": 2,
- "transfer_tb": 0,
- "price_per_month": 58000,
- "price_per_hour": 10,
- "price_per_year": 0,
- "user_id": 1,
- "created_at": "2021-09-13T10:20:56+07:00",
- "updated_at": "2021-09-13T10:20:56+07:00",
- "deleted_at": null,
- "pricing_unit": "hour",
- "price_per_unit": 10,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0
}, - "is_used": false,
- "size_gb": 2,
- "label": "test-volume",
- "mount_point": null,
- "PVCName": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "created_at": "2022-02-22T18:00:57+07:00",
- "updated_at": "2022-02-22T18:00:57+07:00",
- "project": null,
- "instance_has_volumes": [ ],
- "volume_type": "external"
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| group-uuid required | string UUID identifier string for the organization or project. |
| uuid required | string UUID identifier string for the volume object. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": "Delete Volume Success",
- "result": true
}| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| label | string |
{- "label": "string"
}{- "data": {
- "uuid": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "organization": {
- "uuid": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "name": "root",
- "icon": "localhost:9000/organizations/d119b85d-5328-4862-b7e7-44a8db37fbed.png",
- "slug": "root",
- "balance": 1500000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 1365860,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2021-09-13T10:20:55+07:00",
- "updated_at": "2022-02-09T17:27:32+07:00"
}, - "user": {
- "uuid": "a90b5650-767f-4a5e-834a-73640d0d495b",
- "username": "ikandar",
- "name": "Teguh adin nugroho",
- "status": "active",
- "avatar": null
}, - "pricing": {
- "uuid": "2ade480f-ba81-4969-81f2-a807a30ef310",
- "instance_type": "v-1",
- "suitable_for": "volume",
- "availability": "available",
- "plans_type": "ssd",
- "vcpu_core": 0,
- "ram_mb": 0,
- "storage_gb": 2,
- "transfer_tb": 0,
- "price_per_month": 58000,
- "price_per_hour": 10,
- "price_per_year": 0,
- "user_id": 1,
- "created_at": "2021-09-13T10:20:56+07:00",
- "updated_at": "2021-09-13T10:20:56+07:00",
- "deleted_at": null,
- "pricing_unit": "hour",
- "price_per_unit": 10,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0
}, - "is_used": false,
- "size_gb": 2,
- "label": "test-volume",
- "mount_point": null,
- "PVCName": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "created_at": "2022-02-22T18:00:57+07:00",
- "updated_at": "2022-02-22T18:00:57+07:00",
- "project": null,
- "instance_has_volumes": [
- {
- "source_type": "vm",
- "volume": {
- "uuid": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "is_used": false,
- "size_gb": 2,
- "label": "test-volume",
- "mount_point": null,
- "PVCName": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "created_at": "2022-02-22T18:00:57+07:00",
- "updated_at": "2022-02-22T18:00:57+07:00",
- "project": null,
- "instance_has_volumes": null,
- "volume_type": "external"
}, - "tag": "AdditionalVolume",
- "created_at": "2022-02-22T18:01:50+07:00",
- "updated_at": "2022-02-22T18:01:50+07:00",
- "source": {
- "uuid": "5a1efa11-67b0-401a-8524-eafef73590d3",
- "namespace": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "title": "ubuntu",
- "mac_address": "26:71:1c:0e:27:80",
- "hostname": "awanio-hostname",
- "tags": null,
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:29:15+07:00",
- "deleted_at": null
}
}
], - "volume_type": "external"
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| group-uuid required | string UUID identifier string for the organization or project. |
| uuid required | string UUID identifier string for the volume object. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| pricing_uuid | string |
{- "pricing_uuid": "string"
}{- "data": {
- "uuid": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "organization": {
- "uuid": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "name": "root",
- "icon": "localhost:9000/organizations/d119b85d-5328-4862-b7e7-44a8db37fbed.png",
- "slug": "root",
- "balance": 1500000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 1365860,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2021-09-13T10:20:55+07:00",
- "updated_at": "2022-02-09T17:27:32+07:00"
}, - "user": {
- "uuid": "a90b5650-767f-4a5e-834a-73640d0d495b",
- "username": "ikandar",
- "name": "Teguh adin nugroho",
- "status": "active",
- "avatar": null
}, - "pricing": {
- "uuid": "2ade480f-ba81-4969-81f2-a807a30ef310",
- "instance_type": "v-1",
- "suitable_for": "volume",
- "availability": "available",
- "plans_type": "ssd",
- "vcpu_core": 0,
- "ram_mb": 0,
- "storage_gb": 2,
- "transfer_tb": 0,
- "price_per_month": 58000,
- "price_per_hour": 10,
- "price_per_year": 0,
- "user_id": 1,
- "created_at": "2021-09-13T10:20:56+07:00",
- "updated_at": "2021-09-13T10:20:56+07:00",
- "deleted_at": null,
- "pricing_unit": "hour",
- "price_per_unit": 10,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0
}, - "is_used": false,
- "size_gb": 2,
- "label": "test-volume",
- "mount_point": null,
- "PVCName": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "created_at": "2022-02-22T18:00:57+07:00",
- "updated_at": "2022-02-22T18:00:57+07:00",
- "project": null,
- "instance_has_volumes": [
- {
- "source_type": "vm",
- "volume": {
- "uuid": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "is_used": false,
- "size_gb": 2,
- "label": "test-volume",
- "mount_point": null,
- "PVCName": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "created_at": "2022-02-22T18:00:57+07:00",
- "updated_at": "2022-02-22T18:00:57+07:00",
- "project": null,
- "instance_has_volumes": null,
- "volume_type": "external"
}, - "tag": "AdditionalVolume",
- "created_at": "2022-02-22T18:01:50+07:00",
- "updated_at": "2022-02-22T18:01:50+07:00",
- "source": {
- "uuid": "5a1efa11-67b0-401a-8524-eafef73590d3",
- "namespace": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "title": "ubuntu",
- "mac_address": "26:71:1c:0e:27:80",
- "hostname": "awanio-hostname",
- "tags": null,
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:29:15+07:00",
- "deleted_at": null
}
}
], - "volume_type": "external"
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| group-uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| source_volume_uuid | string |
| label | string |
{- "source_volume_uuid": "string",
- "label": "string"
}{- "data": {
- "uuid": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "organization": {
- "uuid": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "name": "root",
- "icon": "localhost:9000/organizations/d119b85d-5328-4862-b7e7-44a8db37fbed.png",
- "slug": "root",
- "balance": 1500000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 1365860,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2021-09-13T10:20:55+07:00",
- "updated_at": "2022-02-09T17:27:32+07:00"
}, - "user": {
- "uuid": "a90b5650-767f-4a5e-834a-73640d0d495b",
- "username": "ikandar",
- "name": "Teguh adin nugroho",
- "status": "active",
- "avatar": null
}, - "pricing": {
- "uuid": "2ade480f-ba81-4969-81f2-a807a30ef310",
- "instance_type": "v-1",
- "suitable_for": "volume",
- "availability": "available",
- "plans_type": "ssd",
- "vcpu_core": 0,
- "ram_mb": 0,
- "storage_gb": 2,
- "transfer_tb": 0,
- "price_per_month": 58000,
- "price_per_hour": 10,
- "price_per_year": 0,
- "user_id": 1,
- "created_at": "2021-09-13T10:20:56+07:00",
- "updated_at": "2021-09-13T10:20:56+07:00",
- "deleted_at": null,
- "pricing_unit": "hour",
- "price_per_unit": 10,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0
}, - "is_used": false,
- "size_gb": 2,
- "label": "test-volume",
- "mount_point": null,
- "PVCName": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "created_at": "2022-02-22T18:00:57+07:00",
- "updated_at": "2022-02-22T18:00:57+07:00",
- "project": null,
- "instance_has_volumes": [
- {
- "source_type": "vm",
- "volume": {
- "uuid": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "is_used": false,
- "size_gb": 2,
- "label": "test-volume",
- "mount_point": null,
- "PVCName": "3750d394-144a-4d6d-a0e5-b58679a44289",
- "created_at": "2022-02-22T18:00:57+07:00",
- "updated_at": "2022-02-22T18:00:57+07:00",
- "project": null,
- "instance_has_volumes": null,
- "volume_type": "external"
}, - "tag": "AdditionalVolume",
- "created_at": "2022-02-22T18:01:50+07:00",
- "updated_at": "2022-02-22T18:01:50+07:00",
- "source": {
- "uuid": "5a1efa11-67b0-401a-8524-eafef73590d3",
- "namespace": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "title": "ubuntu",
- "mac_address": "26:71:1c:0e:27:80",
- "hostname": "awanio-hostname",
- "tags": null,
- "created_at": "2022-02-21T11:27:43+07:00",
- "updated_at": "2022-02-21T11:29:15+07:00",
- "deleted_at": null
}
}
], - "volume_type": "external"
}, - "result": true
}| uuid required | string UUID identifier string for the organization. |
| page | string Example: page=1 Pagination |
| order_by | string Example: order_by=asc, desc Sort data |
| per_page | string Example: per_page=5,1015 Amount of data in one page |
| search | string Example: search=id Find spesific data |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "uuid": "0e9718e3-5baf-46c1-96c7-e90700fb1b40",
- "created_at": "2021-09-22T21:34:39+07:00",
- "updated_at": "2021-09-22T21:34:39+07:00",
- "due_date": "2021-10-10T00:00:00+07:00",
- "billed_to": "Augustine Labadie",
- "billing_address": "jakarta",
- "billing_method": "charge from kredit",
- "amount": 10000,
- "tax_amount": 0,
- "discount_amount": 0,
- "status": "paid",
- "number": null,
- "note": "pemebyaran",
- "discount_in_price": 0,
- "discount_in_percent": 0,
- "tax_in_percent": 0,
- "subtotal": 10000,
- "amount_after_discount": 10000,
- "amount_after_tax": 10000,
- "periode_started_date": "2021-09-01T00:00:00+07:00",
- "periode_ended_date": "2021-10-01T00:00:00+07:00",
- "credit_from_balance": 0,
- "currency": "IDR",
- "InvoiceUrl": null
}
], - "meta": {
- "pagination": {
- "per_page": 10,
- "page": 1,
- "total": 1,
- "last_page": 1
}
}, - "result": true
}| uuid required | string UUID identifier string for the invoice object. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": {
- "uuid": "e81afe5a-59cc-4a02-93d8-ff9fe0e19c59",
- "created_at": "2022-01-25T09:31:11+07:00",
- "updated_at": "2022-01-25T02:31:16+07:00",
- "due_date": "2022-01-11T23:59:59+07:00",
- "organization": {
- "uuid": "5ab73d98-e3a2-42bd-9242-2ac97f9261fb",
- "name": "root",
- "icon": "storage.s3.com/organizations/5ab73d98-e3a2-42bd-9242-2ac97f9261fb.png",
- "slug": "root",
- "balance": 224640000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2022-01-05T11:37:35+07:00",
- "updated_at": "2022-01-25T10:05:14+07:00"
}, - "billed_to": "Mark Dicki",
- "billing_address": null,
- "billing_method": "Charge from credit",
- "amount": 0,
- "tax_amount": 0,
- "discount_amount": 0,
- "status": "paid",
- "number": null,
- "note": null,
- "discount_in_price": 0,
- "discount_in_percent": 0,
- "tax_in_percent": 0,
- "subtotal": 6020000,
- "amount_after_discount": 6020000,
- "amount_after_tax": 6020000,
- "periode_started_date": "2021-12-01T00:00:00+07:00",
- "periode_ended_date": "2022-01-01T00:00:00+07:00",
- "credit_from_balance": 6020000,
- "currency": "IDR",
- "items": [
- {
- "uuid": "0bb2c0a3-b46d-4776-a816-6e14e9e8fee3",
- "created_at": "2022-01-25T09:31:11+07:00",
- "updated_at": "2022-01-25T09:31:11+07:00",
- "quantity": 1,
- "unit_price": "3 month",
- "price_per_unit": 5970000,
- "amount": 5970000,
- "note": "1 hour(s) from 1 replica(s)",
- "discount_percent": 0,
- "tax_in_percent": 0,
- "started_date": "2021-12-24T16:56:09+07:00",
- "ended_date": "2022-01-24T11:31:12+07:00",
- "label": "ubuntu-paket-1-baremetal",
- "resource_type": "baremetal",
- "resource_id": 176,
- "pricing_type": "Paket-1"
}, - {
- "uuid": "381a30d7-f19c-487a-90ad-ed6c92808aef",
- "created_at": "2022-01-25T09:31:11+07:00",
- "updated_at": "2022-01-25T09:31:11+07:00",
- "quantity": 1,
- "unit_price": "month",
- "price_per_unit": 50000,
- "amount": 50000,
- "note": "1 hour(s) from 1 replica(s)",
- "discount_percent": 0,
- "tax_in_percent": 0,
- "started_date": "2021-12-24T16:56:09+07:00",
- "ended_date": "2022-01-24T11:31:12+07:00",
- "label": "103.55.39.28",
- "resource_type": "ipaddress",
- "resource_id": 29,
- "pricing_type": "ip-p"
}
], - "invoice_url": "storage.s3.com/invoices/Invoice-root.pdf",
- "company_address": "Jl. xxxx",
- "company_name": "xxxx"
}, - "result": true
}| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "uuid": "4f68e475-2e91-4c4d-a8b2-260830b5bf4f",
- "name": "duitku",
- "merchant_code": "D8679",
- "merchant_key": "1b774eefc574c65ced780231d7443d01",
- "url": "/webapi/api/merchant/v2/inquiry",
- "output_type": "webview",
- "vat": 20,
- "created_at": "2021-09-13T10:20:56+07:00",
- "updated_at": "2021-11-12T10:27:30+07:00"
}, - {
- "uuid": "d4cb1fa4-8996-4048-9bf5-9006b806243c",
- "name": "Oceane Toy",
- "merchant_code": "Ma",
- "merchant_key": "Ma",
- "url": "/webapi/api/merchant/v2/inquiry",
- "output_type": "webview",
- "vat": 10,
- "created_at": "2021-09-13T10:53:02+07:00",
- "updated_at": "2021-09-13T10:53:02+07:00"
}
], - "result": true
}| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| name | string |
| merchant_code | string |
| merchant_key | string |
| callback | string |
| url | string |
Array of objects | |
| output_type | string |
| vat | integer |
{- "name": "string",
- "merchant_code": "string",
- "merchant_key": "string",
- "callback": "string",
- "url": "string",
- "meta": [
- {
- "return": "string",
- "expiryPeriod": "string"
}
], - "output_type": "string",
- "vat": 0
}{- "data": {
- "id": 320,
- "uuid": "39be950c-1127-4127-ab75-f681975dc5b3",
- "name": "payment-gateway",
- "merchant_code": "D8610",
- "merchant_key": "D8610",
- "output_type": "webview",
- "vat": 10
}, - "result": true
}| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "id": "1,",
- "uuid": "fdbada02-f609-4d5c-a85a-188c1d704f4d",
- "name": "VC",
- "description": "Credit Card (Visa / Master)",
- "service_fee": 0,
- "minimum_amount": 50000,
- "payment_gateway": "duitku"
}, - {
- "id": "2,",
- "uuid": "a60bd702-6260-4ce4-b08b-26b1ea668f69",
- "name": "BK",
- "description": "BCA KlikPay",
- "service_fee": 0,
- "minimum_amount": 50000,
- "payment_gateway": "duitku"
}
], - "result": true
}| reference_number required | string |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": {
- "uuid": "751a269e-a5aa-4b9d-b595-5eaf6b0b2f39",
- "organization": {
- "uuid": "81d4c6b6-dcea-42f6-8152-03de276d6dab",
- "name": "root",
- "icon": "localhost:9000/organizations/d119b85d-5328-4862-b7e7-44a8db37fbed.png",
- "slug": "root",
- "balance": 1058000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 1365860,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2021-09-13T10:20:55+07:00",
- "updated_at": "2022-03-04T10:52:36+07:00"
}, - "payment_gateway_id": 1,
- "amount": 600000,
- "reference_number": "gkv-uq6W",
- "va_number": null,
- "stripe_id": null,
- "client_secret": null,
- "payment_method_id": 1,
- "status": "pending",
- "meta": null,
- "service_fee": 0,
- "balance": 500000,
- "created_at": "2022-03-07T20:35:09+07:00",
- "updated_at": "2022-03-07T20:35:09+07:00"
}, - "result": true
}| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| payment_method_uuid | string |
| organization_uuid | string |
| amount | integer |
{- "payment_method_uuid": "string",
- "organization_uuid": "string",
- "amount": 0
}{- "data": {
- "output_type": "webview",
- "amount": 600000,
- "va_number": null,
- "reference": "gkv-uq6W",
- "client_secret": null,
- "stripe_id": null,
- "status": null,
- "meta": null,
- "expiryPeriod": 30
}, - "result": true
}| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| payment_method_uuid | string |
| organization_uuid | string |
| amount | integer |
{- "payment_method_uuid": "string",
- "organization_uuid": "string",
- "amount": 0
}{- "data": {
- "output_type": "webview",
- "amount": 600000,
- "va_number": null,
- "reference": "gkv-uq6W",
- "client_secret": null,
- "stripe_id": null,
- "status": null,
- "meta": null,
- "expiryPeriod": 30
}, - "result": true
}| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: multipart/form-data |
| merchantOrderId | string |
| amount | string |
| resultCode | integer |
| additionalParam | integer |
| reference | string |
{- "data": "SUCCESS",
- "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: multipart/form-data |
| subdomain_name | string |
| bucket_name | string |
{- "subdomain_name": "string",
- "bucket_name": "string"
}{- "data": {
- "uuid": "aae3c538-a940-4d68-8dc7-be5a5cf6efb2",
- "created_at": "2022-04-05T14:26:02Z",
- "updated_at": "2022-04-05T14:26:02Z",
- "size_gb"": 0,
- "subdomain_name": "mysubdomain.storage.awanio.com",
- "custom_domain_name": null,
- "credentials"": [
- {
- "uuid": "322bca9c-bbe1-4994-acfb-53f8a9d4ca44",
- "created_at": "2022-04-05T14:27:48Z",
- "updated_at": "2022-04-05T14:27:48Z",
- "access_key": "AZerHWFAjNJyejTQXRrW",
- "secret_key": "3vOlv9t4fNrxe0nz0UIHK26LVuAnW2"
}
]
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: multipart/form-data |
{- "data": {
- "uuid": "a8b0e517-de0a-4243-bd2c-271b18f15578",
- "created_at": "2021-09-13T10:21:04+07:00",
- "updated_at": "2021-09-13T10:21:04+07:00",
- "size_gb": 0,
- "subdomain_name": "localhost:9000",
- "custom_domain_name": null,
- "credentials": {
- "type": "array"
}
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: multipart/form-data |
| bucket_name | string |
{- "bucket_name": "string"
}{- "data": "Bucket testing created",
- "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: multipart/form-data |
{- "data": {
- "uuid": "aae3c538-a940-4d68-8dc7-be5a5cf6efb2",
- "created_at": "2022-04-05T14:26:02Z",
- "updated_at": "2022-04-05T14:26:02Z",
- "size_gb"": 0,
- "subdomain_name": "mysubdomain.storage.awanio.com",
- "custom_domain_name": null,
- "credentials"": [
- {
- "name": "root",
- "creationDate": "2022-04-05T02:34:19.647Z"
}
]
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| bucket-name required | string Bucket Name. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: multipart/form-data |
| bucket_name | string |
{- "bucket_name": "string"
}{- "data": "Bucket testing's policy updated",
- "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| bucket-name required | string Bucket Name. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: multipart/form-data |
{- "data": "Bucket testing deleted",
- "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| bucket-name required | string Bucket Name. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: multipart/form-data |
{- "data": [
- {
- "name": "Screen Shot 2022-04-02 at 08.23.46.png",
- "updated_at": "2022-04-05T02:37:19.685Z",
- "size"": "1001558,",
- "content_type": "image/png",
- "expires": "0001-01-01T00:00:00Z\""
}, - {
- "name": "Screen Shot 2022-04-02 at 17.46.54.png",
- "updated_at": "2022-04-05T02:37:02.518Z",
- "size"": "1031021,",
- "content_type": "image/png",
- "expires": "0001-01-01T00:00:00Z\""
}
], - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| bucket-name required | string Bucket Name. |
| object-name required | string Object Name. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: multipart/form-data |
{- "data": "object deleted",
- "result": true
}{- "data": {
- "uuid": "315c2ab1-750a-4897-9e77-824e3d0043b9",
- "name": 1.23,
- "api_version": 1.23,
- "controller_version": 1.23,
- "etcd_version": 1.23,
- "created_at": "2022-03-01T22:04:34Z",
- "updated_at": "2022-03-01T22:04:34Z"
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| name | string |
| enable_ha | boolean |
| version | string Version kubernetes uuid. |
| pricing_uuid | string |
| pv_pricing_uuid | string |
| tags | Array of strings |
| with_external_ip | boolean |
Array of objects |
{- "name": "string",
- "enable_ha": true,
- "version": "string",
- "pricing_uuid": "string",
- "pv_pricing_uuid": "string",
- "tags": [
- "string"
], - "with_external_ip": true,
- "reserve_external_ip": [
- {
- "is_new": true,
- "reserved": true
}
]
}{- "data": [
- {
- "uuid": "e6ee260b-a77a-469d-a976-7c3e40036014",
- "organization": {
- "uuid": "fd929c28-a1ee-4386-9bfa-df549b8cef35",
- "name": "Sutardi",
- "icon": "data.storage.awanio.com/organizations/fd929c28-a1ee-4386-9bfa-df549b8cef35.png",
- "slug": "sutardi",
- "balance": 12150000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2022-03-09T03:43:55Z",
- "updated_at": "2022-03-31T12:42:16Z",
- "vpc": null,
- "is_suspend": "false,",
- "ResourceDelete": null
}, - "project": null,
- "name": "my-cluster",
- "release_name": "my-cluster",
- "namespace": "k8s-fd929c28-a1ee-4386-9bfa-df549b8cef35",
- "version": {
- "uuid": "315c2ab1-750a-4897-9e77-824e3d0043b9",
- "name": 1.23,
- "api_version": 1.23,
- "controller_version": 1.23,
- "etcd_version": 1.23,
- "created_at": "2022-03-01T22:04:34Z",
- "updated_at": "2022-03-01T22:04:34Z"
}, - "pvc_name": "data-my-cluster-etcd-0",
- "service_type": "LoadBalancer",
- "replica": 1,
- "pricing": {
- "uuid": "d1b6ce72-9739-4e7c-867f-25bb43f1f920",
- "instance_type": "k-a",
- "suitable_for": "pods",
- "availability": "available",
- "plans_type": "Standard",
- "vcpu_core": 0.5,
- "ram_mb": 0.5,
- "storage_gb": 5,
- "transfer_tb": 0,
- "price_per_month": 720000,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 1,
- "created_at": "2022-03-01T22:04:33Z",
- "updated_at": "2022-04-03T14:17:35Z",
- "deleted_at": null,
- "pricing_unit": "hour",
- "price_per_unit": 5000,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": null,
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0
}, - "pv_pricing": {
- "uuid": "00000000-0000-0000-0000-000000000000",
- "instance_type": null,
- "suitable_for": null,
- "availability": null,
- "plans_type": null,
- "vcpu_core": 0,
- "ram_mb": 0,
- "storage_gb": 0,
- "transfer_tb": 0,
- "price_per_month": 0,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 0,
- "created_at": "0001-01-01T00:00:00Z",
- "updated_at": "0001-01-01T00:00:00Z",
- "deleted_at": null,
- "pricing_unit": null,
- "price_per_unit": 0,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": null,
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0
}, - "tags": [
- "testing"
], - "ip_addresses": [
- {
- "id": 67,
- "source_type": "kubernetes",
- "source_id": 128,
- "ip_address_id": 9,
- "ip_address": {
- "id": "9,",
- "address": 1729094193,
- "cidr": 24,
- "gateway": 1729094398,
- "created_at": "2022-03-02T03:40:53Z",
- "updated_at": "2022-03-02T03:40:53Z",
- "deleted_at": null,
- "address_string": "103.15.226.49",
- "gateway_string": "103.15.226.254",
- "private_address": 1729094193,
- "private_address_string": "103.15.226.49",
- "active": true,
- "suitable_for": "all"
}, - "created_at": "2022-04-04T04:24:41Z",
- "updated_at": "2022-04-04T04:24:41Z",
- "deleted_at": null,
- "source": null
}
], - "private_ip_address_v4": "10.1.162.135",
- "created_at": "2022-04-04T04:24:41Z",
- "updated_at": "2022-04-04T04:25:03Z",
- "status": "pending",
- "metrics": {
- "name": null,
- "release_name": null,
- "namespace": null,
- "uuid": null,
- "total_node": 0,
- "total_cpu": {
- "value": 0,
- "unit": null
}, - "total_memory": {
- "value": 0,
- "unit": null
}, - "total_pod": 0,
- "total_container": 0
}
}
], - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| page | string Example: page=1 Pagination |
| per_page | string Example: per_page=5,1015 Amount of data in one page |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": [
- {
- "uuid": "7b1d228e-3c44-4bac-9999-88b6e945c32a",
- "organization": {
- "uuid": "fd929c28-a1ee-4386-9bfa-df549b8cef35",
- "name": "Sutardi",
- "icon": "data.storage.awanio.com/organizations/fd929c28-a1ee-4386-9bfa-df549b8cef35.png",
- "slug": "sutardi",
- "balance": 12150000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2022-03-09T03:43:55Z",
- "updated_at": "2022-03-31T12:42:16Z",
- "vpc": null,
- "is_suspend": false,
- "ResourceDelete": null
}, - "project": null,
- "name": "test-cluster",
- "release_name": "test-cluster",
- "namespace": "k8s-fd929c28-a1ee-4386-9bfa-df549b8cef35",
- "version": {
- "uuid": "315c2ab1-750a-4897-9e77-824e3d0043b9",
- "name": 1.23,
- "api_version": 1.23,
- "controller_version": 1.23,
- "etcd_version": 1.23,
- "created_at": "2022-03-01T22:04:34Z",
- "updated_at": "2022-03-01T22:04:34Z"
}, - "pvc_name": "data-test-cluster-etcd-0",
- "service_type": "LoadBalancer",
- "replica": 1,
- "pricing": {
- "uuid": "d1b6ce72-9739-4e7c-867f-25bb43f1f920",
- "instance_type": "k-a",
- "suitable_for": "pods",
- "availability": "available",
- "plans_type": "Standard",
- "vcpu_core": 0.5,
- "ram_mb": 0.5,
- "storage_gb": 5,
- "transfer_tb": 0,
- "price_per_month": 720000,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 1,
- "created_at": "2022-03-01T22:04:33Z",
- "updated_at": "2022-04-03T14:17:35Z",
- "deleted_at": null,
- "pricing_unit": "hour",
- "price_per_unit": 5000,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": null,
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0
}, - "pv_pricing": {
- "uuid": "00000000-0000-0000-0000-000000000000",
- "instance_type": null,
- "suitable_for": null,
- "availability": null,
- "plans_type": null,
- "vcpu_core": 0,
- "ram_mb": 0,
- "storage_gb": 0,
- "transfer_tb": 0,
- "price_per_month": 0,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 0,
- "created_at": "0001-01-01T00:00:00Z",
- "updated_at": "0001-01-01T00:00:00Z",
- "deleted_at": null,
- "pricing_unit": null,
- "price_per_unit": 0,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": null,
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0
}, - "tags": null,
- "ip_addresses": [
- {
- "id": 66,
- "source_type": "kubernetes",
- "source_id": 127,
- "ip_address_id": 6,
- "ip_address": [
- {
- "id": 6,
- "address": 1729094185,
- "cidr": 24,
- "gateway": 1729094398,
- "created_at": "2022-03-02T03:38:43Z",
- "updated_at": "2022-03-02T03:38:43Z",
- "deleted_at": null,
- "address_string": "103.15.226.41",
- "gateway_string": "103.15.226.254",
- "private_address": 1729094185,
- "private_address_string": "103.15.226.41",
- "active": true,
- "suitable_for": "all"
}
], - "created_at": "2022-04-04T03:31:24Z",
- "updated_at": "2022-04-04T03:31:24Z",
- "deleted_at": null,
- "source": null
}
], - "private_ip_address_v4": "10.1.207.142",
- "created_at": "2022-04-04T03:31:24Z",
- "updated_at": "2022-04-04T03:31:32Z",
- "status": "not_running",
- "metrics": {
- "name": "test-cluster",
- "release_name": "test-cluster",
- "namespace": "k8s-fd929c28-a1ee-4386-9bfa-df549b8cef35",
- "uuid": "7b1d228e-3c44-4bac-9999-88b6e945c32a",
- "total_node": 0,
- "total_cpu": {
- "value": 0,
- "unit": "milliCPU"
}, - "total_memory": {
- "value": 0,
- "unit": "MB"
}, - "total_pod": 0,
- "total_container": 0
}
}
], - "meta": {
- "pagination": {
- "per_page": 1,
- "page": 1,
- "total": 1,
- "last_page": 1
}
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": {
- "uuid": "e6ee260b-a77a-469d-a976-7c3e40036014",
- "organization": {
- "uuid": "fd929c28-a1ee-4386-9bfa-df549b8cef35",
- "name": "Sutardi",
- "icon": "data.storage.awanio.com/organizations/fd929c28-a1ee-4386-9bfa-df549b8cef35.png",
- "slug": "sutardi",
- "balance": 12150000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2022-03-09T03:43:55Z",
- "updated_at": "2022-03-31T12:42:16Z",
- "vpc": null,
- "is_suspend": false,
- "ResourceDelete": null
}, - "project": null,
- "name": "my-cluster",
- "release_name": "my-cluster",
- "namespace": "k8s-fd929c28-a1ee-4386-9bfa-df549b8cef35",
- "version": {
- "uuid": "315c2ab1-750a-4897-9e77-824e3d0043b9",
- "name": 1.23,
- "api_version": 1.23,
- "controller_version": 1.23,
- "etcd_version": 1.23,
- "created_at": "2022-03-01T22:04:34Z",
- "updated_at": "2022-03-01T22:04:34Z"
}, - "pvc_name": "data-my-cluster-etcd-0",
- "service_type": "LoadBalancer",
- "replica": 1,
- "pricing": {
- "uuid": "d1b6ce72-9739-4e7c-867f-25bb43f1f920",
- "instance_type": "k-a",
- "suitable_for": "pods",
- "availability": "available",
- "plans_type": "Standard",
- "vcpu_core": 0.5,
- "ram_mb": 0.5,
- "storage_gb": 5,
- "transfer_tb": 0,
- "price_per_month": 720000,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 1,
- "created_at": "2022-03-01T22:04:33Z",
- "updated_at": "2022-04-03T14:17:35Z",
- "deleted_at": null,
- "pricing_unit": "hour",
- "price_per_unit": 5000,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": null,
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0
}, - "pv_pricing": {
- "uuid": "00000000-0000-0000-0000-000000000000",
- "instance_type": null,
- "suitable_for": null,
- "availability": null,
- "plans_type": null,
- "vcpu_core": 0,
- "ram_mb": 0,
- "storage_gb": 0,
- "transfer_tb": 0,
- "price_per_month": 0,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 0,
- "created_at": "0001-01-01T00:00:00Z",
- "updated_at": "0001-01-01T00:00:00Z",
- "deleted_at": null,
- "pricing_unit": null,
- "price_per_unit": 0,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": null,
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0
}, - "tags": [
- "testing"
], - "ip_addresses": [
- {
- "id": 67,
- "source_type": "kubernetes",
- "source_id": 128,
- "ip_address_id": 9,
- "ip_address": {
- "id": 9,
- "address": 1729094193,
- "cidr": 24,
- "gateway": 1729094398,
- "created_at": "2022-03-02T03:40:53Z",
- "updated_at": "2022-03-02T03:40:53Z",
- "deleted_at": null,
- "address_string": "103.15.226.49",
- "gateway_string": "103.15.226.254",
- "private_address": 1729094193,
- "private_address_string": "103.15.226.49",
- "active": true,
- "suitable_for": "all"
}, - "created_at": "2022-04-04T04:24:41Z",
- "updated_at": "2022-04-04T04:24:41Z",
- "deleted_at": null,
- "source": null
}
], - "private_ip_address_v4": "10.1.162.135",
- "created_at": "2022-04-04T04:24:41Z",
- "updated_at": "2022-04-04T04:27:55Z",
- "status": "running",
- "metrics": {
- "name": "my-cluster",
- "release_name": "my-cluster",
- "namespace": "k8s-fd929c28-a1ee-4386-9bfa-df549b8cef35",
- "uuid": "e6ee260b-a77a-469d-a976-7c3e40036014",
- "total_node": 1,
- "total_cpu": {
- "value": 3,
- "unit": "milliCPU"
}, - "total_memory": {
- "value": 25,
- "unit": "MB"
}, - "total_pod": 1,
- "total_container": 1
}
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
| name | string |
| enable_ha | boolean |
{- "name": "string",
- "enable_ha": true
}{- "data": [
- {
- "uuid": "e6ee260b-a77a-469d-a976-7c3e40036014",
- "organization": {
- "uuid": "fd929c28-a1ee-4386-9bfa-df549b8cef35",
- "name": "Sutardi",
- "icon": "data.storage.awanio.com/organizations/fd929c28-a1ee-4386-9bfa-df549b8cef35.png",
- "slug": "sutardi",
- "balance": 12150000,
- "discount": 0,
- "payment_plans": "prepaid",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2022-03-09T03:43:55Z",
- "updated_at": "2022-03-31T12:42:16Z",
- "vpc": null,
- "is_suspend": "false,",
- "ResourceDelete": null
}, - "project": null,
- "name": "my-cluster1",
- "release_name": "my-cluster",
- "namespace": "k8s-fd929c28-a1ee-4386-9bfa-df549b8cef35",
- "version": {
- "uuid": "315c2ab1-750a-4897-9e77-824e3d0043b9",
- "name": 1.23,
- "api_version": 1.23,
- "controller_version": 1.23,
- "etcd_version": 1.23,
- "created_at": "2022-03-01T22:04:34Z",
- "updated_at": "2022-03-01T22:04:34Z"
}, - "pvc_name": "data-my-cluster-etcd-0",
- "service_type": "LoadBalancer",
- "replica": 1,
- "pricing": {
- "uuid": "d1b6ce72-9739-4e7c-867f-25bb43f1f920",
- "instance_type": "k-a",
- "suitable_for": "pods",
- "availability": "available",
- "plans_type": "Standard",
- "vcpu_core": 0.5,
- "ram_mb": 0.5,
- "storage_gb": 5,
- "transfer_tb": 0,
- "price_per_month": 720000,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 1,
- "created_at": "2022-03-01T22:04:33Z",
- "updated_at": "2022-04-03T14:17:35Z",
- "deleted_at": null,
- "pricing_unit": "hour",
- "price_per_unit": 5000,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": null,
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0
}, - "pv_pricing": {
- "uuid": "00000000-0000-0000-0000-000000000000",
- "instance_type": null,
- "suitable_for": null,
- "availability": null,
- "plans_type": null,
- "vcpu_core": 0,
- "ram_mb": 0,
- "storage_gb": 0,
- "transfer_tb": 0,
- "price_per_month": 0,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 0,
- "created_at": "0001-01-01T00:00:00Z",
- "updated_at": "0001-01-01T00:00:00Z",
- "deleted_at": null,
- "pricing_unit": null,
- "price_per_unit": 0,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": null,
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0
}, - "tags": [
- "testing"
], - "ip_addresses": [
- {
- "id": 67,
- "source_type": "kubernetes",
- "source_id": 128,
- "ip_address_id": 9,
- "ip_address": {
- "id": "9,",
- "address": 1729094193,
- "cidr": 24,
- "gateway": 1729094398,
- "created_at": "2022-03-02T03:40:53Z",
- "updated_at": "2022-03-02T03:40:53Z",
- "deleted_at": null,
- "address_string": "103.15.226.49",
- "gateway_string": "103.15.226.254",
- "private_address": 1729094193,
- "private_address_string": "103.15.226.49",
- "active": true,
- "suitable_for": "all"
}, - "created_at": "2022-04-04T04:24:41Z",
- "updated_at": "2022-04-04T04:24:41Z",
- "deleted_at": null,
- "source": null
}
], - "private_ip_address_v4": "10.1.162.135",
- "created_at": "2022-04-04T04:24:41Z",
- "updated_at": "2022-04-04T04:25:03Z",
- "status": "pending",
- "metrics": {
- "name": null,
- "release_name": null,
- "namespace": null,
- "uuid": null,
- "total_node": 0,
- "total_cpu": {
- "value": 0,
- "unit": null
}, - "total_memory": {
- "value": 0,
- "unit": null
}, - "total_pod": 0,
- "total_container": 0
}
}
], - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": "deleted",
- "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": {
- "name": "my-cluster",
- "release_name": "my-cluster",
- "namespace": "k8s-fd929c28-a1ee-4386-9bfa-df549b8cef35",
- "uuid": "e6ee260b-a77a-469d-a976-7c3e40036014",
- "total_node": 1,
- "total_cpu": {
- "value": 2,
- "unit": "milliCPU"
}, - "total_memory": {
- "value": 25,
- "unit": "MB"
}, - "total_pod": 1,
- "total_container": 1
}, - "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": "running",
- "result": true
}| group-type required | string Example: organizations The value should be one of organizations or projects. |
| uuid required | string UUID identifier string for the organization or project. |
| Authorization | string Example: Bearer {JWTToken} |
| Content-Type | string Example: application/json |
{- "data": "apiVersion: v1\n clusters:\n- cluster:\n certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EUXdOREEwTWpRMU5sb1hEVE15TURRd01UQTBNalExTmxvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTHB2ClJsWG11SVFQQ2JWanVXQStXRG5CY3ZxM3NTcEM1cko2am9YdnpGSTZhazdNZUxsOTMxRVFwWkVublFIa1RWUzQKa3paRVJqejE5elRpYVhFM1RZQzdTRzBvQTV5QUZmdDJDV1J5aFZRaDdyR2dhSTZiQ0hWb1hTNjRjZUdGclhyQgprdmNGVHVMVUpTRXd0SlFlMFBwdVprYUd4aHBzenNyM29OSXBtaG1FZWZyQi9jYXdadTVkNzlzWU1qRVpSYXBXCnVtUGU1aDQxR3pESmdQQzhoUzlubUpVWkNicnlLK0tUclpIQWdsWWx6VkdUb3gwTnJEWUlYbURBWE5jM3V0bVgKcWZTVVc2NStRU2dHc3BpWTFEd2U3am0wK3J0U3gxS1dlZHJSOHpEc2hGWnRsbk1BVGVVTytUTnYxTFdnMUZLYwp0Q25LcDQ1TjhrSXJWN0xHR1JNQ0F3RUFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZFRUtpU0tWZC8yTWVXdWFjeU80V2lkQXEvYlRNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnRUJBSnM1aktSUTVTYnYyNHdUYkpDSQp5K09KdTNwQ0VzMDFoQ1p6ZzlNQk5lb296NCt5dExEckxqYVFHUFhQaGU1U1lUVk9LT1lnZkxjcW1rZmEyOGtjCnJVRWd0a0svcHRVUmQ5UEk0eCtRYVB3aUJoODJmRGtjNnFNM1BNOEVjcSt1ZXFGWk4vVUdpd3pyREcrVGZuaVgKM202Q1JrRmt3TkpvUVA4eHY1bk51enh0UjNWTFFiNHpkTW1wSk5lM013TWhCekJsWlZrS2dxQm5NZmczNmxUTwpxUjNXUURCWWZvWTFQWEVBb1ovazloVWhqcUpnZm5lVWM1aVg2WndHZlppU0ozMU15WldCNXk5d0o3cmtsZG00CjE5TkpoWjIvV2I4WUtmK29tYmV5cDdaenhTdGxrZCtpNmlYRWwyUmg1VXhXcGRlR1JSQm1sL3FPc2xCakw2RHUKdmNjPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==\n server: https://103.15.226.49\n name: kubernetes\ncontexts:\n- context:\n cluster: kubernetes\n user: kubernetes-admin\n name: kubernetes-admin@kubernetes\ncurrent-context: kubernetes-admin@kubernetes\n kind: Config\npreferences: {}\nusers:\n- name: kubernetes-admin\n user:\n client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJWnZ5UWNDMHZ5Mjh3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBME1EUXdOREkwTlRaYUZ3MHpNakEwTURFd05ESTFNREJhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lEVlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQW5HQkI4bzFEbTcyci9vejEKeEVoOEtMNi93ZlBsWFA3YndZTVJ4ZGxGdUJxUFliYmZlVDFvUmJDcVFmejNidUM0SE1WeDJPZjM3bzNleTBVeAowYUpic011Rm1oNEhkNnkvSVQxRDFlZmdSa3RRa09BWGhvdXMwVXptUmxjc25CQTRHM3k2Zm1yQ2VwaklqQnloCmMzUGQ0RVdZK0tUZlM0ZjAxZE92OHNzWWZuQ1hDYVNPNGcxbHpDSWJhanpERTJuMENJZEo2QklDTFBUVnNPdVMKYXJ2K3UzRk8yYTZhZDFVZWdidTNtVzdQNjBnb0RkelhvcU9ZemFkODl1cHl6MkJaOGhqUVJCdmZtNUlWNDlUaApoU0Rha2YzcGZEd0ZTMFFsZ3VhaFFaR3RsYjRlVVZHblZyTGQrbEt0dGdQYjl6WHZvcTFKaUNreTQvL1Jhc0hBCjRIWUlWd0lEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFNQ0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JSQkNva2lsWGY5akhscm1uTWp1Rm9uUUt2MgowekFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBSVlQdXNQSkkrNUNGS1E2N0ZJckNlYW1RRVdQRWM4Y3hONFhqCi9vbkhQQlgxUStML3hQVmU5a3NsR3RQVFdwZXNCeU50NXgrK25FbHBtS3cvUDg5TzZ4ZSttaVZkU2o1SndTeFcKOUJpRWE4bzIyY2ZMZXBqYk9xb1JwOFBxalJVdGE0STVQMmx4aFk3WkdLUXhLOFJPbzI5Rmd5MzFURk1pc25MYgpjVjdnTjkzTGZyemxNY0xUU0xCdWkzdWRIOFEzaHU2M2RnTUJScWwreWJKWjRsUG5zRXlLaUY5VS8vaVRCYzVFClV4cGNtY0txclRsWmYva3VOMkNIOFRBMEFhZHJrakRJd2c2RHJsb1kraGFZRWZzVWovbDR1SEsyWlN1aC8yRTcKNGhHR3FORE4ySEJGQjY0TXYvZWhBb0ZFZmhjVFlid0ZXMG9sVURkYWovaHpzMzRRcWc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==\n client-key-data: LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBbkdCQjhvMURtNzJyL296MXhFaDhLTDYvd2ZQbFhQN2J3WU1SeGRsRnVCcVBZYmJmCmVUMW9SYkNxUWZ6M2J1QzRITVZ4Mk9mMzdvM2V5MFV4MGFKYnNNdUZtaDRIZDZ5L0lUMUQxZWZnUmt0UWtPQVgKaG91czBVem1SbGNzbkJBNEczeTZmbXJDZXBqSWpCeWhjM1BkNEVXWStLVGZTNGYwMWRPdjhzc1lmbkNYQ2FTTwo0ZzFsekNJYmFqekRFMm4wQ0lkSjZCSUNMUFRWc091U2Fydit1M0ZPMmE2YWQxVWVnYnUzbVc3UDYwZ29EZHpYCm9xT1l6YWQ4OXVweXoyQlo4aGpRUkJ2Zm01SVY0OVRoaFNEYWtmM3BmRHdGUzBRbGd1YWhRWkd0bGI0ZVVWR24KVnJMZCtsS3R0Z1BiOXpYdm9xMUppQ2t5NC8vUmFzSEE0SFlJVndJREFRQUJBb0lCQUhZWUI1VzZjeVZwanp0MApqcUlHTDZYQnNDVTBJTElqVWlpSTZHSW5ISXpWbWhTc080WmZCcUVpc3VHVXZmUUJSMm1LL3RoVkRwc2NqdldwCnN0N2pJeVdYL2JTUEd3cVk3ZHFYWHVScThhZUVkenFCMGFKdFZ6elZPMDVCeFZHeXVmeWdMR01PRXdMczRQOVgKRytLSnpUVHl1bnlFWHBHM0FnSjlsSEhpU1FRcXFxcFl5NW5iNXBaUzhxNTdDNE1WVWpyaWZqYS8ybzdlclJhcQo5WmZVb3FxRjRWS3ZkNld2KzNPT0Zrc3ZkN0tzbldNVk43MW9peUlxWlgvTWdxSjMrc1RCZ0lqc016bHEzZkNBCjBVeG4wdEowbXhGTmtBZy9YVkRobXNMbWJsOXRaaThkR3lCdkc1WEpSZW5HN1BDTngyU1JwTU1LMWJ3bmNLcEgKOHRnbDhqa0NnWUVBd0taR2JUVDEvMjNwRXpZd3VxR1pNOXY4UUxZRXF6NTFDVHlsYnFRbWtuM1UxQzNwczVXQwp2SXhuT1pOa1llUWYxdEFsdUo3WmhSd2FUZnB0d2phN2pUYzQ1ci80ME94ai9sWmlyc2RBckgxdjFheU9hcGQrCmJiVjZ2SFlBRllXTGliRnI5NWFKanJtWWVuTmNHa2MydUdsN3UyQ3BZa0lxQko4UEZuSXBTUTBDZ1lFQXo4eGkKLzhSeFFpNHhuckdJTXBseFFxOGt5VlI5YTNabmNtMEs2MFhoc3NiS3gxQTZiYlRVSHJBV3YrSUtyeERLeWUvQwpHbW5MTTZQZUhRZ2RXLzdzL1lpTTdkZmlxNEorcXFPNFM5ZXFOdlJyNlNEd2NPSkw1TC91bjhHRE1wbnJuZGdzCkJTNWhQbzB5a3pRd1ZOWUVFVmdCY3lhTFliZ3JPL2Ywazk0K05mTUNnWUJacEVVN0JaeTk2VWU5MzhaVzRXRG4KUjZLZC9kUTRWb3lnNnE1VHlHQUdaRFRITWtIL2hUOWJPcjNCaGJyODdlaCt6VVh3SFVJNzlQS3NmQzNjWkJscgpRVm5oelV3YTh4UW9RY3dUWmJYTFRXYmZkemFobExLSW5CeHJXMEQ0d3JaR01OOTdTbm5oaHF6VHRhQVN2alpSCkl3d25DWGhudHovVC9LdEpsMzlzZFFLQmdDdXF1N01ieU9FcmErbjVUTEcxWlFPcVlvU2NhSzdJZHZ5b3hYNmoKZE1abzEvd0NkQVRSMXpHTHQzd2pPRE9KeDlPZnVwNXFWUFZKSGtmamlLZm9ia3pwQVJTS0pXdjlSRGovcHA3cApkeStOTlpBTUIvcncweG9DNjFaUENBNytJWEZPR0JJT3FRaklDelM3NXR3dERUWEgxS1lxRjJnMWw0QkdudkxqCjVSYlpBb0dBSUlJVUV2c24zS1BVOU0rMXNYd0lKVUxNUVV0TkFWZDd4U0FxeXd0dkRZc0NXVDFRN1N2U2pGbmUKQ2d2ZDV0WnZtZ2NlZEVMcmUyQ2VnTlQ1VTZVaDY0cWQrZ3hTTDd4U0NqS2hQN3F0cjB4b0d3TkRvbW1nNmNCNgpTd2VrVlBJSWsyWEJPcmpDeEg4Nld0NTRWOHdadC9pV0d2bzJEdnhsbkdXWEhDaVRLV0E9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==\n",
- "result": true
}