account-tenant-read
or account-admin
Gets a list of Tenants owned by the Account.
OK - Returns the Paged Tenants response.
Unauthorized
Forbidden
{- "currentPage": 0,
- "pageCount": 0,
- "pageSize": 0,
- "rowCount": 0,
- "results": [
- {
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "name": "string",
- "status": "string",
- "address": {
- "streetAddress": "string",
- "extendedAddress": "string",
- "locality": "string",
- "region": "string",
- "postCode": "string",
- "country": "string"
}, - "statusDetails": {
- "createdOn": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "approvedOn": "2019-08-24T14:15:22Z",
- "approvedBy": "string",
- "rejectedOn": "2019-08-24T14:15:22Z",
- "rejectionReason": "string",
- "rejectedBy": "string",
- "deletedOn": "2019-08-24T14:15:22Z",
- "deletedBy": "string"
}
}
]
}
account-tenant-write
or account-admin
Creates a new Tenant for the Account`.
Created - Returns the Tenant response.
Unauthorized
Forbidden
{- "name": "string",
- "streetAddress": "string",
- "extendedAddress": "string",
- "locality": "string",
- "region": "string",
- "postCode": "string",
- "country": "string"
}
{- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "name": "string",
- "status": "string",
- "address": {
- "streetAddress": "string",
- "extendedAddress": "string",
- "locality": "string",
- "region": "string",
- "postCode": "string",
- "country": "string"
}, - "statusDetails": {
- "createdOn": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "approvedOn": "2019-08-24T14:15:22Z",
- "approvedBy": "string",
- "rejectedOn": "2019-08-24T14:15:22Z",
- "rejectionReason": "string",
- "rejectedBy": "string",
- "deletedOn": "2019-08-24T14:15:22Z",
- "deletedBy": "string"
}
}
account-tenant-read
or account-admin
Gets a Tenants by the tenantId
.
OK - Returns the Tenants response.
Unauthorized
Forbidden
{- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "name": "string",
- "status": "string",
- "address": {
- "streetAddress": "string",
- "extendedAddress": "string",
- "locality": "string",
- "region": "string",
- "postCode": "string",
- "country": "string"
}, - "statusDetails": {
- "createdOn": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "approvedOn": "2019-08-24T14:15:22Z",
- "approvedBy": "string",
- "rejectedOn": "2019-08-24T14:15:22Z",
- "rejectionReason": "string",
- "rejectedBy": "string",
- "deletedOn": "2019-08-24T14:15:22Z",
- "deletedBy": "string"
}
}
account-tenant-write
or account-admin
Updates a Tenant by the tenantId
.
Accepted
Unauthorized
Forbidden
{- "name": "string",
- "streetAddress": "string",
- "extendedAddress": "string",
- "locality": "string",
- "region": "string",
- "postCode": "string",
- "country": "string"
}
account-tenant-approval
Gets a list of Tenants that have a status of AWAITING_APPROVAL
.
OK - Returns the Tenants response.
Unauthorized
Forbidden
{- "tenants": [
- {
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "name": "string",
- "status": "string",
- "address": {
- "streetAddress": "string",
- "extendedAddress": "string",
- "locality": "string",
- "region": "string",
- "postCode": "string",
- "country": "string"
}, - "statusDetails": {
- "createdOn": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "approvedOn": "2019-08-24T14:15:22Z",
- "approvedBy": "string",
- "rejectedOn": "2019-08-24T14:15:22Z",
- "rejectionReason": "string",
- "rejectedBy": "string",
- "deletedOn": "2019-08-24T14:15:22Z",
- "deletedBy": "string"
}
}
]
}
account-tenant-approval
Reviews a Tenant that currently has a status of AWAITING_APPROVAL
. As a reviewer, the Tenant can be either approved or rejected. If rejected, a rejection reason is mandatory.
No Content.
Unauthorized
Forbidden
{- "isApproved": true,
- "rejectionReason": "string"
}
account-tenant-read
Gets the IP Whitelist configuration for Tenant-scoped API Key users.
OK - Returns the IP Whitelist configuration response.
Unauthorized
Forbidden
{- "enabled": true,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "rules": [
- {
- "name": "string",
- "ipV4Start": "string",
- "ipV4End": "string"
}
]
}
account-tenant-write
Updates the IP Whitelist configuration for Tenant-scoped API Key users.
No Content.
Unauthorized
Forbidden
{- "enabled": true,
- "rules": [
- {
- "name": "string",
- "ipV4Start": "string",
- "ipV4End": "string"
}
]
}