Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- Artifact API
- Artifact types
- Create an artifact
- View an artifact
- Update an artifact
- Delete an artifact
- Retrieve a predefined view for an artifact
- Retrieve resolved properties for an artifact
- List active groups associated with an organization
- Add groups to an organization
- Update group display name, distinguished name
- Delete or disassociate group from an organization
- List resource providers
- Add document to service offering
- Delete document from service offering
- Update document in service offering
- Publish service offerings to catalog
- Unpublish service offerings from catalog
- Retrieve artifact state and status
- Artifact views
Add Groups to an Organization
Details
URI | /artifact/<organization_id>/group
|
---|---|
Method | POST |
Parameters | userIdentifier=<user_id> Required; the user ID you want to use as credentials for this API call. See Get userIdentifier for the steps required to get the userIdentifier value. |
Returns | 200 - Ok 401 - Not authorized 404 - Object not found 500 - Server exception |
Note that the role must be specified for each group in the request body. Valid roles are as follows:
For Consumer type organizations:
- SERVICE_CONSUMER
-
CONSUMER_ORGANIZATION_ADMINISTRATOR
For Provider type organizations:
- CONSUMER_SERVICE_ADMINISTRATOR
- CONTENT_MANAGER
- CSA_ADMIN
- RESOURCE_SUPPLY_MANAGER
- SERVICE_BUSINESS_MANAGER
- SERVICE_DESIGNER
- SERVICE_OPERATIONS_MANAGER
Example
The following URL was sent:
https://<host>:<port>/csa/rest/artifact/8a81818f3d1421e7013d1423635a0003/group?userIdentifier=90d96588360da0c701360da0f1d5f483
The following XML was sent:
<GroupList>
<group>
<displayName>My-Group-Name</displayName>
<distinguishedName>
cn=TestConsumer,ou=ConsumerGroup,ou=CSAGroups
</distinguishedName>
<role>
<name>SERVICE_CONSUMER</name>
</role>
</group>
<group>
<displayName>Another-Group-Name</displayName>
<distinguishedName>
cn=TestConsumer2,ou=ConsumerGroup,ou=CSAGroups
</distinguishedName>
<role>
<name>SERVICE_CONSUMER</name>
</role>
</group>
</GroupList>
The following XML was returned:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<GroupList>
<count>2</count>
<limit>2</limit>
<group>
<isCriticalSystemObject>false</isCriticalSystemObject>
<name>My-Group-Name</name>
<displayName>My-Group-Name</displayName>
<disabled>false</disabled>
<distinguishedName>
cn=TestConsumer,ou=ConsumerGroup,ou=CSAGroups
</distinguishedName>
<role>
<isCriticalSystemObject>false</isCriticalSystemObject>
<name>SERVICE_CONSUMER</name>
<disabled>false</disabled>
</role>
</group>
<group>
<isCriticalSystemObject>false</isCriticalSystemObject>
<name>Another-Group-Name</name>
<displayName>Another-Group-Name</displayName>
<disabled>false</disabled>
<distinguishedName>
cn=TestConsumer2,ou=ConsumerGroup,ou=CSAGroups
</distinguishedName>
<role>
<isCriticalSystemObject>false</isCriticalSystemObject>
<name>SERVICE_CONSUMER</name>
<disabled>false</disabled>
</role>
</group>
</GroupList>
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to clouddocs@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: