This site has been archived. Please visit help.fulcrumapp.com for our new support documentation and contact information.

Updating records

srweal's Avatar

srweal

12 May, 2016 04:26 AM

How can I control what user a records is 'updated_by' when I issue a PUT request?

I can't see how the API key is associated with a particular user.

Thanks, Steve

  1. Support Staff 1 Posted by Alex Helms on 12 May, 2016 02:04 PM

    Alex Helms's Avatar

    Hello Steve,

    There is no way to set the updated_by field. The system sets this based on the API key being used, which can only be obtained from a user with the 'owner' role.

    Thnaks,
    Alex

  2. 2 Posted by srweal on 12 May, 2016 10:53 PM

    srweal's Avatar

    Thanks Alex. So if I understand correctly, I could generate an API key
    using a particular member account (that is an owner) and then any
    subsequent changes made via that API key would appear as being by that user?

    I'm hearing that the API key is tied to the account that generated it. Yes?

    Ta, Steve

    *--*
    *Steve Wealands*
    Environmental Systems Solutions Pty Ltd
    www.essolutions.com.au

    E: [email blocked]
    M: +61 404 032 218

  3. Support Staff 3 Posted by Alex Helms on 13 May, 2016 12:00 PM

    Alex Helms's Avatar

    That is correct, the created/updated_by fields are populated based on the API key that is used. So you could grant another user the owner role, grab that user's API key (there is a API tab on the settings page of the web app) and then everything done will that API key will be attributed to that user.

  4. srweal closed this discussion on 15 Dec, 2016 05:53 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac