Dev guideRecipesAPI ReferenceChangelog
Dev guideRecipesUser GuidesNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Add a role

Add a role by passing the role's details.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Details used to add a role.

string | null
required
string | null
string | null
required
int32
enum
Defaults to 0
Allowed:
string | null
targetIds
array of strings | null
targetIds
boolean | null
attributes
array of objects | null
attributes
properties
array of objects | null
properties
Responses

401

Unauthorized access to endpoint.

403

Forbidden access to endpoint.

500

A server error occurred, please try again.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json