api/databases/{dbid}/auth
Argument | Type | Description |
---|---|---|
dbid | GUID | The ID of the database |
Name | Type | Options | Description |
---|---|---|---|
Name | String | User name | |
Password | String | Password |
- PUT api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/auth
- Accept: text/json
- Accept-Encoding: deflate
- Content-Type: text/json
- Host: localhost:6496
- Content-Length: 46
- Expect: 100-continue
- Connection: Keep-Alive
- {
- "Name": "admin",
- "Password": "admin",
- }
- Cache-Control: no-store
- Date: Fri, 21 Dec 2012 08:42:33 GMT
- Set-Cookie: sid=a8cd7cce-8c6c-4af4-9da7-1d8ac92b6117; path=/;
- Server: Microsoft-HTTPAPI/2.0