reluid (Release a user ID)

Releases a user ID and makes it available for future allocation.

You must release the user ID after completing running queries, so that the ID is available to other users. The user ID will stay logged in until its idle time times out, saving other users the time to start a new session.

Releasing a user ID is separate from logging out.

Query string

The query string in the HTTP header must contain the following parameters:

Specify the name of the API transaction.
Specify the version of the API that should handle the requested transaction.

For the most up-to-date version, use apiversion=3.

Specify a valid 1010data user name.
The encrypted password for the session. If no active session exists, use the unencrypted password for the UID. See the section titled Additional info for more information.
The session ID for the current API session.

This value is returned by the login transaction and must be provided for most subsequent transactions. Provide this value unless the session has ended or you no longer have access to the session information. See the section titled Additional info for more information.

The group identifier for the SAM pool. The SAM pool is a group containing some number of UID's. A valid gid follows the same rules as a valid uid.

Additional info

When using the reluid transaction, the UID provided must be the 1010data UID that should be released back to the SAM pool for future allocation, and the password provided must be the password for that ID.

As a best practice, you should provide the session ID (sid) and encrypted password (pswd) if the UID being released has an active session. If the UID being released has been logged out, or if you no longer have access to the session credentials, you can release the UID by providing the unencrypted password for that UID. In this case, the session ID (sid) is not required.

XML input to server

No XML input is required. All data for the transaction is specified in the connection string.

XML response from server

A successful result contains the following elements:

The return code generated by the transaction. For a list of return codes, see Return codes.
The message returned by the system. Specific messages correspond to specific return codes.

Query string example$UID&pswd=$PSWD&sid=$SID

reluid example

<msg>uid released</msg>