Organizations
SetSoleOrganizationAdmin
Promotes a member to administrator on organizations that are limited to a single admin. This endpoint is only valid for Team subscriptions (Team Starter and Team Growth) — it returns 400 on any other plan. On these plans, UpdateOrganizationMember cannot promote a member to admin, because doing so would require simultaneously demoting the current admin. This endpoint performs both changes atomically: the caller (who must be the current sole admin) is demoted to member and the target user is promoted to admin.
Note: This endpoint operates on built-in roles only and does not integrate with custom roles.
post/api/orgs/{orgName}/members/{userLogin}/set-admin
Request
- Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
- URL: https://api.pulumi.com/api/orgs/{orgName}/members/{userLogin}/set-admin
- Auth: none declared
Path parameters
orgNamestring required
The organization name
userLoginstring required
The user login name
Response
No Content
Changes
No recorded changes to this operation across all 1 revision of this API.