다음을 통해 공유


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 매개 변수

Name In(다음 안에) 필수 형식 Description
customer_id
path True

string

고객 테넌트 ID입니다.

user_id
path True

string

라이선스 할당에 대한 사용자의 사용자 ID 또는 사용자 계정 이름입니다.

isKickInstantOn
query

boolean

instant On을 시작할지 여부를 나타내는 플래그입니다(GoDaddy에 대한 특정 쿼리 매개 변수이며 GoDaddy 고객 테넌트만 kick API를 필요로 합니다. GoDaddy는 항상 지금 이 플래그를 보냅니다. 기본값을 false로 변경할 수 있습니다.)

요청 헤더

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

Name 필수 형식 Description
Authorization True

string

권한 부여 전달자 토큰

ms-correlationid

string

내부적으로 요청을 추적하는 데 사용됩니다. ms-correlationid가 제공되지 않으면 서버는 각 요청에 대해 새 상관 관계를 생성합니다.

ms-cv

string

내부적으로 요청을 추적하는 데 사용됩니다. ms-cv 제공되지 않으면 서버는 각 요청에 대해 새 ms-cv 생성합니다.

ms-requestid

string

요청의 idempotency에 사용됩니다. ms-requestid가 제공되지 않으면 서버는 각 요청에 대해 새 요청을 생성합니다.

요청 본문

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

Name 형식 Description
licensesToAssign

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

licensesToRemove

string[]

응답

Name 형식 Description
200 OK

object

그래

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

201 Created

Microsoft.Partner.Providers.Contracts.V1.LicenseUpdate

그래

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

정의

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 형식 Description
etag

string

objectType

string

Microsoft.Partner.Providers.Contracts.V1.LicenseAssignment

Name 형식 Description
excludedPlans

string[]

skuId

string

Microsoft.Partner.Providers.Contracts.V1.LicenseUpdate

Name 형식 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 형식 Description
code

string

message

string

servicePlans

string[]