tenantTag resource type
Namespace: microsoft.graph.managedTenants
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Represents a tag that can be assigned to managed tenant.
Methods
Method | Return type | Description |
---|---|---|
List tenantTags | microsoft.graph.managedTenants.tenantTag collection | Get a list of the tenantTag objects and their properties. |
Create tenantTag | microsoft.graph.managedTenants.tenantTag | Create a new tenantTag object. |
Get tenantTag | microsoft.graph.managedTenants.tenantTag | Read the properties and relationships of a tenantTag object. |
Update tenantTag | microsoft.graph.managedTenants.tenantTag | Update the properties of a tenantTag object. |
Delete tenantTag | None | Deletes a tenantTag object. |
assignTag | microsoft.graph.managedTenants.tenantTag | Assigns the tenant tag to the specified managed tenants. |
unassignTag | microsoft.graph.managedTenants.tenantTag | Un-assigns the tenant tag from the specified managed tenants. |
Properties
Property | Type | Description |
---|---|---|
createdByUserId | String | The identifier for the account that created the tenant tag. Required. Read-only. |
createdDateTime | DateTimeOffset | The date and time when the tenant tag was created. Required. Read-only. |
deletedDateTime | DateTimeOffset | The date and time when the tenant tag was deleted. Required. Read-only. |
description | String | The description for the tenant tag. Optional. Read-only. |
displayName | String | The display name for the tenant tag. Required. Read-only. |
id | String | The unique identifier for the tenant tag. Required. Read-only. |
lastActionByUserId | String | The identifier for the account that lasted on the tenant tag. Optional. Read-only. |
lastActionDateTime | DateTimeOffset | The date and time the last action was performed against the tenant tag. Optional. Read-only. |
tenants | microsoft.graph.managedTenants.tenantInfo collection | The collection of managed tenants associated with the tenant tag. Optional. |
Relationships
None.
JSON representation
The following is a JSON representation of the resource.
{
"@odata.type": "#microsoft.graph.managedTenants.tenantTag",
"id": "String (identifier)",
"displayName": "String",
"description": "String",
"createdByUserId": "String",
"lastActionByUserId": "String",
"tenants": [
{
"@odata.type": "microsoft.graph.managedTenants.tenantInfo"
}
],
"lastActionDateTime": "String (timestamp)",
"createdDateTime": "String (timestamp)",
"deletedDateTime": "String (timestamp)"
}
Feedback
Submit and view feedback for