GetRequestToken
Retrieves a one-time credential for channel service requests. The credential can be used to authenticate channel-related API operations and becomes invalid after use.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:GetRequestToken |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ChannelId |
string |
Yes |
The channel ID. The channel service request credential is valid only for this channel. |
wuying**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
25BB1CE-6B47-12DC-9FE6-03726**** |
| RequestToken |
string |
The generated channel service request credential. Each channel service request credential can be used only once. |
8789d7271c36979**** |
Examples
Success response
JSON format
{
"RequestId": "25BB1CE-6B47-12DC-9FE6-03726****",
"RequestToken": "8789d7271c36979****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.