Members
Add a member to a tenant
Changed onpost/api/v1/tenants/{name}/members
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/tenants/{name}/members
- Auth: none declared
Path parameters
namestring Tenant identifier and logical tenant scope; not a Kubernetes Namespace. required
Request body
Example request
{
"account": "zhang.san@example.com",
"roleName": "user"
}Response
Member added.
Example response
{
"addedAt": "2026-06-20T08:00:00Z",
"displayName": "Li Wei",
"email": "li.wei@example.com",
"roleName": "tenant-admin",
"userId": "3a2b1c0d-4e5f-6789-abcd-ef0123456789",
"username": "li.wei"
}Changes
- breaking
the
response's property type changed fromstringto no type for status - info
added to the
response propertyallOflist for the response status - info
removed the
system-adminenum value from theresponse property for the response status - info
removed the
tenant-adminenum value from theresponse property for the response status - info
removed the
userenum value from theresponse property for the response status
- breaking