Accounts
Create Membership
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://loading/accounts.v1.Accounts/CreateMembership" \ -H "Content-Type: application/json" \ -d '{}'{
"membership": {
"createdAt": "2019-08-24T14:15:22Z",
"id": "string",
"policies": [
"string"
],
"role": "MEMBERSHIP_ROLE_UNSPECIFIED",
"status": "MEMBERSHIP_STATUS_UNSPECIFIED",
"updatedAt": "2019-08-24T14:15:22Z",
"userId": "string",
"workspaceId": "string"
}
}Empty