Forum Discussion
Anonymous
8 years agoNot applicable
Possible to programmatically assign a premium capacity to new group?
Hi! Is it programmatically possible to assign a premium capacity (e.g. A sku) to a new group created using the REST API (e.g. the GroupsExtensions.CreateGroupAsync Method). Kind regards, ...
faerewatson
8 years agoAdvocate I
Anonymous - any chance you have seen updates to this? We have the same scenario!
Anonymous
8 years agoNot applicable
faerewatson - it seems the REST API now supports this operation -> https://msdn.microsoft.com/en-us/library/mt829293.aspx
I haven't tried the function yet. However, the description matches our requirement :-)
The Assign to Capacity operation assigns the workspace specified in the request uri to the capacity specified in the request body. To perform this operation the user must be a workspace admin and have permissions (admin/assign) to the capacity.