Dela via


Manage customer accounts - License Updates

POST https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users/{user_id}/licenseupdates
POST https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users/{user_id}/licenseupdates?isKickInstantOn={isKickInstantOn}

URI-parametrar

Name I Obligatorisk Typ Description
customer_id
path True

string

Kundens klientorganisations-ID.

user_id
path True

string

Användar-ID eller användarens huvudnamn för en användare för licenstilldelning.

isKickInstantOn
query

boolean

flaggan för att ange om kick instant On (det här är en specifik frågeparameter för GoDaddy och endast GoDaddy-kundklienten behöver kick-API. GoDaddy har alltid skickat den här flaggan nu. så att vi kan ändra standardvärdet till false).

Begärandehuvud

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Name Obligatorisk Typ Description
Authorization True

string

Token för auktoriseringsbärare

ms-correlationid

string

Används för att spåra begäranden internt. Om ett ms-correlationid inte anges genererar servern en ny för varje begäran

ms-cv

string

Används för att spåra begäranden internt. Om en ms-cv inte tillhandahålls genererar servern en ny för varje begäran

ms-requestid

string

Används för idempotens för begäranden. Om ett ms-requestid inte har angetts genererar servern en ny för varje begäran

Begärandetext

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Name Typ Description
licensesToAssign

Microsoft.Partner.Providers.Contracts.V1.LicenseAssignment[]

licensesToRemove

string[]

Svar

Name Typ Description
200 OK

object

OKEJ

Media Types: "application/json", "text/json", "application/xml", "text/xml"

201 Created

Microsoft.Partner.Providers.Contracts.V1.LicenseUpdate

OKEJ

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Definitioner

Name Description
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Providers.Contracts.V1.LicenseAssignment
Microsoft.Partner.Providers.Contracts.V1.LicenseUpdate
Microsoft.Partner.Providers.Contracts.V1.LicenseWarning

Microsoft.Partner.Core.Collections.ResourceAttributes

Name Typ Description
etag

string

objectType

string

Microsoft.Partner.Providers.Contracts.V1.LicenseAssignment

Name Typ Description
excludedPlans

string[]

skuId

string

Microsoft.Partner.Providers.Contracts.V1.LicenseUpdate

Name Typ Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

licenseWarnings

Microsoft.Partner.Providers.Contracts.V1.LicenseWarning[]

licensesToAssign

Microsoft.Partner.Providers.Contracts.V1.LicenseAssignment[]

licensesToRemove

string[]

Microsoft.Partner.Providers.Contracts.V1.LicenseWarning

Name Typ Description
code

string

message

string

servicePlans

string[]