Salesforce

CreateRole

« Go Back
Information
CreateRole
000005207
Public
Product Selection
aiWare - aiWare
Article Details
AdminRoleCreateResponse CreateRole(ctx, adminRoleCreateRequest, optional)

This creates a new role

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
adminRoleCreateRequestAdminRoleCreateRequestThe input for createRole
optional*CreateRoleOptsoptional parametersnil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a CreateRoleOpts struct

NameTypeDescriptionNotes
xCorrelationIdoptional.StringCorrelation Id that can be passed, traced in the server and will be returned in the response if present in the request

Return type

AdminRoleCreateResponse

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json
Additional Technical Documentation Information
Properties
6/3/2024 4:43 PM
6/3/2024 5:27 PM
6/3/2024 5:27 PM
Documentation
Documentation
000005207
Translation Information
English

Powered by