Skip to content

Get tenant policies

GET
/v1/tenants/{id}/policies

Retrieve policies for a tenant

id
required
string

Tenant ID

Tenant policies

object
tenantId
string
policies
Array<object>
object
id
required
string
productId
required
string
action
required
string
Allowed values: NONE NOTIFY DOWNLOAD INSTALL
conditions
object
key
additional properties
any
priority
integer
createdAt
string format: date-time
updatedAt
string format: date-time

Unauthorized

object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{
"code": "UNAUTHORIZED",
"message": "Authentication required"
}

Forbidden

object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{
"code": "FORBIDDEN",
"message": "Insufficient permissions"
}

Not found

object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{
"code": "NOT_FOUND",
"message": "Resource not found"
}

Internal server error

object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{
"code": "INTERNAL_ERROR",
"message": "An internal error occurred"
}