Add Manual User
Add Manually Managed Members
client.Apps.Entitlements.AddManualUser(ctx, appEntitlementID, params) (*FailedUsersErrorMapmapAppEntitlementAddManualUserResponse, error)
post/api/v1/apps/{app_id}/entitlements/{app_entitlement_id}/add-manual-user
Invokes the c1.api.app.v1.AppEntitlements.AddManuallyManagedMembers method.
Parameters
appEntitlementIDstring
The appEntitlementId field.
paramsAppIDfieldUserIDsfieldAppEntitlementAddManualUserParams
Returns
AppEntitlementAddManualUserResponsestruct
The ManuallyManagedUsersResponse message.
Request example Go
package main
import (
"context"
"fmt"
"github.com/stainless-sdks/-go"
"github.com/stainless-sdks/-go/option"
)
func main() {
client := conductoronesdk.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.Apps.Entitlements.AddManualUser(
context.TODO(),
"app_entitlement_id",
conductoronesdk.AppEntitlementAddManualUserParams{
AppID: "app_id",
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.FailedUsersErrorMap)
}
200 Example
{
"failedUsersErrorMap": {
"foo": "string"
}
}