Accounts
The Accounts service is thought to be owning the user, resource group and company information.
Fractal Accounts (v1)
Download OpenAPI specification:Download
Fractal Accounts description
Create an account
Authorizations:
Request Body schema: application/json
| name | string or null |
string or null | |
| avatarUrl | string or null |
| phoneNumber | string or null |
| businessScopes | Array of strings or null unique |
Responses
Request samples
- Payload
{- "name": "string",
- "email": "string",
- "avatarUrl": "string",
- "phoneNumber": "string",
- "businessScopes": [
- "string"
]
}Response samples
- 200
{- "id": "string",
- "name": "string",
- "email": "string",
- "avatarUrl": "string",
- "phoneNumber": "string",
- "status": "Registered",
- "challenge": "string",
- "forcePasswordChange": true,
- "serviceAccountId": "string"
}Update an account
Authorizations:
Request Body schema: application/json
| name | string or null |
string or null | |
| avatarUrl | string or null |
| phoneNumber | string or null |
Responses
Request samples
- Payload
{- "name": "string",
- "email": "string",
- "avatarUrl": "string",
- "phoneNumber": "string"
}Response samples
- 200
{- "id": "string",
- "name": "string",
- "email": "string",
- "avatarUrl": "string",
- "phoneNumber": "string",
- "status": "Registered",
- "challenge": "string",
- "forcePasswordChange": true,
- "serviceAccountId": "string"
}Activate an account Deprecated
Authorizations:
path Parameters
| accountId required | string <uuid> |
Request Body schema: application/json
| password | string or null <password> |
Responses
Request samples
- Payload
{- "password": "pa$$word"
}Response samples
- 200
trueChange an account password
Authorizations:
Request Body schema: application/json
| oldPassword | string or null <password> |
| newPassword | string or null <password> |
Responses
Request samples
- Payload
{- "oldPassword": "pa$$word",
- "newPassword": "pa$$word"
}Response samples
- 200
trueResponse samples
- 200
{- "id": "string",
- "name": "string",
- "email": "string",
- "avatarUrl": "string",
- "phoneNumber": "string",
- "status": "Registered",
- "challenge": "string",
- "forcePasswordChange": true,
- "serviceAccountId": "string"
}Response samples
- 200
{- "id": "string",
- "name": "string",
- "email": "string",
- "avatarUrl": "string",
- "phoneNumber": "string",
- "status": "Registered",
- "challenge": "string",
- "forcePasswordChange": true,
- "serviceAccountId": "string"
}Upsert a personal resource group Deprecated
Authorizations:
path Parameters
| shortName required | string |
Request Body schema: application/json
| displayName | string or null |
| description | string or null |
| icon | string or null |
Responses
Request samples
- Payload
{- "displayName": "string",
- "description": "string",
- "icon": "string"
}Response samples
- 200
{- "id": {
- "resourceGroupType": "Personal",
- "ownerId": "string",
- "shortName": "string"
}, - "displayName": "string",
- "description": "string",
- "status": "Unknown",
- "icon": "string",
- "livesystems": [
- "string"
], - "fractals": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string"
}Get a personal resource group by its short name Deprecated
Authorizations:
path Parameters
| shortName required | string |
Responses
Response samples
- 200
{- "id": {
- "resourceGroupType": "Personal",
- "ownerId": "string",
- "shortName": "string"
}, - "displayName": "string",
- "description": "string",
- "status": "Unknown",
- "icon": "string",
- "livesystems": [
- "string"
], - "fractals": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string"
}Upsert a personal resource group
Authorizations:
path Parameters
| shortName required | string |
Request Body schema: application/json
| displayName | string or null |
| description | string or null |
| icon | string or null |
Responses
Request samples
- Payload
{- "displayName": "string",
- "description": "string",
- "icon": "string"
}Response samples
- 200
{- "id": {
- "resourceGroupType": "Personal",
- "ownerId": "string",
- "shortName": "string"
}, - "displayName": "string",
- "description": "string",
- "status": "Unknown",
- "icon": "string",
- "livesystems": [
- "string"
], - "fractals": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string"
}Get a personal resource group by its short name
Authorizations:
path Parameters
| shortName required | string |
Responses
Response samples
- 200
{- "id": {
- "resourceGroupType": "Personal",
- "ownerId": "string",
- "shortName": "string"
}, - "displayName": "string",
- "description": "string",
- "status": "Unknown",
- "icon": "string",
- "livesystems": [
- "string"
], - "fractals": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string"
}Create an organization
Authorizations:
Request Body schema: application/json
| name | string or null |
| description | string or null |
| icon | string or null |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "icon": "string"
}Response samples
- 200
{- "id": "string",
- "name": "string",
- "description": "string",
- "icon": "string",
- "admins": [
- "string"
], - "members": [
- "string"
], - "teams": [
- "string"
], - "resourceGroups": [
- "string"
], - "status": "Unknown"
}Update an organization
Authorizations:
Request Body schema: application/json
| organizationId | string <uuid> |
| name | string or null |
| description | string or null |
| icon | string or null |
Responses
Request samples
- Payload
{- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "name": "string",
- "description": "string",
- "icon": "string"
}Response samples
- 200
{- "id": "string",
- "name": "string",
- "description": "string",
- "icon": "string",
- "admins": [
- "string"
], - "members": [
- "string"
], - "teams": [
- "string"
], - "resourceGroups": [
- "string"
], - "status": "Unknown"
}Get an organization
Authorizations:
path Parameters
| organizationId required | string <uuid> |
Responses
Response samples
- 200
{- "id": "string",
- "name": "string",
- "description": "string",
- "icon": "string",
- "admins": [
- "string"
], - "members": [
- "string"
], - "teams": [
- "string"
], - "resourceGroups": [
- "string"
], - "status": "Unknown"
}Upsert an organizational resource group
Authorizations:
path Parameters
| organizationId required | string <uuid> |
| shortName required | string |
Request Body schema: application/json
| displayName | string or null |
| description | string or null |
| icon | string or null |
Responses
Request samples
- Payload
{- "displayName": "string",
- "description": "string",
- "icon": "string"
}Response samples
- 200
{- "id": {
- "resourceGroupType": "Personal",
- "ownerId": "string",
- "shortName": "string"
}, - "displayName": "string",
- "description": "string",
- "status": "Unknown",
- "icon": "string",
- "livesystems": [
- "string"
], - "fractals": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "membersIds": [
- "string"
], - "teamsIds": [
- "string"
], - "managersIds": [
- "string"
]
}Get an organizational resource group by shortname
Authorizations:
path Parameters
| organizationId required | string <uuid> |
| shortName required | string |
Responses
Response samples
- 200
{- "id": {
- "resourceGroupType": "Personal",
- "ownerId": "string",
- "shortName": "string"
}, - "displayName": "string",
- "description": "string",
- "status": "Unknown",
- "icon": "string",
- "livesystems": [
- "string"
], - "fractals": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "membersIds": [
- "string"
], - "teamsIds": [
- "string"
], - "managersIds": [
- "string"
]
}Grant an organization permission to a principal
Authorizations:
path Parameters
| organizationId required | string <uuid> |
Request Body schema: application/json
| principalType | string (PrincipalType) Enum: "Account" "Team" |
| principalId | string or null The identifier of the principal:
|
| permissionType | string (PermissionType) Enum: "Admin" "Edit" "Terminate" "View" |
Responses
Request samples
- Payload
{- "principalType": "Account",
- "principalId": "string",
- "permissionType": "Admin"
}Response samples
- 200
trueRevoke an organization permission from a principal
Authorizations:
path Parameters
| organizationId required | string <uuid> |
Request Body schema: application/json
| principalType | string (PrincipalType) Enum: "Account" "Team" |
| principalId | string or null The identifier of the principal:
|
| permissionType | string (PermissionType) Enum: "Admin" "Edit" "Terminate" "View" |
Responses
Request samples
- Payload
{- "principalType": "Account",
- "principalId": "string",
- "permissionType": "Admin"
}Response samples
- 200
trueGrant an organizational resource group permission to a principal
Authorizations:
path Parameters
| organizationId required | string <uuid> |
| shortName required | string |
Request Body schema: application/json
| principalType | string (PrincipalType) Enum: "Account" "Team" |
| principalId | string or null The identifier of the principal:
|
| permissionType | string (PermissionType) Enum: "Admin" "Edit" "Terminate" "View" |
Responses
Request samples
- Payload
{- "principalType": "Account",
- "principalId": "string",
- "permissionType": "Admin"
}Response samples
- 200
trueRevoke an organizational resource group permission from a principal
Authorizations:
path Parameters
| organizationId required | string <uuid> |
| shortName required | string |
Request Body schema: application/json
| principalType | string (PrincipalType) Enum: "Account" "Team" |
| principalId | string or null The identifier of the principal:
|
| permissionType | string (PermissionType) Enum: "Admin" "Edit" "Terminate" "View" |
Responses
Request samples
- Payload
{- "principalType": "Account",
- "principalId": "string",
- "permissionType": "Admin"
}Response samples
- 200
trueGrant team permissions to a principal
Authorizations:
path Parameters
| organizationId required | string <uuid> |
| shortName required | string |
Request Body schema: application/json
| principalType | string (PrincipalType) Enum: "Account" "Team" |
| principalId | string or null The identifier of the principal:
|
| permissionType | string (PermissionType) Enum: "Admin" "Edit" "Terminate" "View" |
Responses
Request samples
- Payload
{- "principalType": "Account",
- "principalId": "string",
- "permissionType": "Admin"
}Response samples
- 200
trueRevoke a team permission from a principal
Authorizations:
path Parameters
| organizationId required | string <uuid> |
| shortName required | string |
Request Body schema: application/json
| principalType | string (PrincipalType) Enum: "Account" "Team" |
| principalId | string or null The identifier of the principal:
|
| permissionType | string (PermissionType) Enum: "Admin" "Edit" "Terminate" "View" |
Responses
Request samples
- Payload
{- "principalType": "Account",
- "principalId": "string",
- "permissionType": "Admin"
}Response samples
- 200
trueUpsert a team
Authorizations:
path Parameters
| organizationId required | string <uuid> |
Request Body schema: application/json
| shortName | string or null |
| name | string or null |
| description | string or null |
| icon | string or null |
| isPrivate | boolean |
Responses
Request samples
- Payload
{- "shortName": "string",
- "name": "string",
- "description": "string",
- "icon": "string",
- "isPrivate": true
}Response samples
- 200
{- "id": {
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "shortName": "string"
}, - "name": "string",
- "description": "string",
- "status": "Unknown",
- "icon": "string",
- "isPrivate": true
}Get a team by shortname
Authorizations:
path Parameters
| organizationId required | string <uuid> |
| shortname required | string |
Responses
Response samples
- 200
{- "id": {
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "shortName": "string"
}, - "name": "string",
- "description": "string",
- "status": "Unknown",
- "icon": "string",
- "isPrivate": true
}Delete a team
Authorizations:
path Parameters
| organizationId required | string <uuid> |
| shortname required | string |
Responses
Response samples
- 200
{- "id": {
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "shortName": "string"
}, - "name": "string",
- "description": "string",
- "status": "Unknown",
- "icon": "string",
- "isPrivate": true
}